Changeset 7470 for branches/GeneralizedQAP/HeuristicLab.Problems.Instances.TSPLIB/3.3/TSPLIBParser.cs
- Timestamp:
- 02/15/12 17:28:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.Instances.TSPLIB/3.3/TSPLIBParser.cs
r7466 r7470 439 439 break; 440 440 default: 441 throw new InvalidDataException("Input files does not specify a valid node coordtype.");441 throw new InvalidDataException("Input files does not specify a valid display data type."); 442 442 } 443 443 … … 525 525 || edgeWeightFormat == TSPLIBEdgeWeightFormats.UPPER_ROW; 526 526 527 int dim1 = !triangular && !upperTriangular ? (diagonal ? 0 : 1) : 0;528 int dim2 = !triangular && upperTriangular ? (diagonal ? 0 : 1) : 0;527 int dim1 = triangular && !upperTriangular ? (diagonal ? 0 : 1) : 0; 528 int dim2 = triangular && upperTriangular ? (diagonal ? 0 : 1) : 0; 529 529 bool finished = false; 530 530 while (!finished) {
Note: See TracChangeset
for help on using the changeset viewer.