We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ccd68d commit 2c1b975Copy full SHA for 2c1b975
src/main/java/org/encog/app/analyst/analyze/AnalyzedField.java
@@ -205,10 +205,9 @@ public final DataField finalizeField() {
205
// column having exactly (or nearly exactly) the same value. Provide a
206
// small range around that value so that every value in this column normalizes
207
// to the midpoint of the desired normalization range, typically 0 or 0.5.
208
- double d = Math.abs(getMax()-getMin());
209
if( Math.abs(getMax()-getMin())<Encog.DEFAULT_DOUBLE_EQUAL ) {
210
result.setMin(getMin()-0.0001);
211
- result.setMin(getMin()+0.0001);
+ result.setMax(getMin()+0.0001);
212
} else {
213
result.setMin(getMin());
214
result.setMax(getMax());
0 commit comments