Changeset 9392 for branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/DoubleVariable.cs
- Timestamp:
- 04/23/13 13:31:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/DoubleVariable.cs
r9242 r9392 130 130 var targetCast = target as DoubleVariable; 131 131 if (targetCast == null) { return false; } 132 if (variableName != targetCast.variableName || currentCenter.IsAlmost(targetCast.currentCenter)133 || currentSpread.IsAlmost(targetCast.currentSpread) ||max.IsAlmost(targetCast.max)134 || min.IsAlmost(targetCast.min)) { return false; }132 if (variableName != targetCast.variableName || !currentCenter.IsAlmost(targetCast.currentCenter) 133 || !currentSpread.IsAlmost(targetCast.currentSpread) || !max.IsAlmost(targetCast.max) 134 || !min.IsAlmost(targetCast.min)) { return false; } 135 135 136 136 return true;
Note: See TracChangeset
for help on using the changeset viewer.