Changeset 15783 for trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
- Timestamp:
- 02/16/18 11:35:54 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r15583 r15783 142 142 } 143 143 144 if (inputMatrix.C ast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x)))144 if (inputMatrix.ContainsNanInf()) 145 145 throw new NotSupportedException( 146 146 "Nearest neighbour model does not support NaN or infinity values in the input dataset.");
Note: See TracChangeset
for help on using the changeset viewer.