Changeset 77 in tspsg-svn for trunk/src/tspsolver.h


Ignore:
Timestamp:
Dec 17, 2009, 1:24:34 PM (14 years ago)
Author:
laleppa
Message:

Fixed crash when the task didn't have a solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tspsolver.h

    r76 r77  
    100100        double align(TMatrix &matrix);
    101101        void cleanup();
    102         void deleteNode(SStep *node);
     102        void deleteNode(SStep *&node);
    103103        QList<SCandidate> findCandidate(const TMatrix &matrix, int &nRow, int &nCol) const;
    104104        double findMinInCol(int nCol, const TMatrix &matrix, int exr = -1) const;
Note: See TracChangeset for help on using the changeset viewer.