Skip to content

Commit

Permalink
Remove debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalohlava committed Aug 11, 2015
1 parent 254a82b commit df6cc62
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions h2o-core/src/main/java/hex/Model.java
Expand Up @@ -209,11 +209,9 @@ public int compare(Field field1, Field field2) {
});

for (Field f : fields) {
String o = "zzz: " + count + " " + f.getName() + " : ";
final long P = MathUtils.PRIMES[count % MathUtils.PRIMES.length];
Class<?> c = f.getType();
if (c.isArray()) {
o += " ARRAY: ";
try {
f.setAccessible(true);
if (f.get(this) != null) {
Expand Down Expand Up @@ -245,9 +243,7 @@ public int compare(Field field1, Field field2) {
try {
f.setAccessible(true);
Object value = f.get(this);
o += value;
if (value != null) {
o += "[" + o.hashCode() + "]";
xs = P * xs + (long)(value.hashCode());
} else {
xs = P * xs + P;
Expand All @@ -257,7 +253,6 @@ public int compare(Field field1, Field field2) {
}
}
count++;
System.err.println(o + " => " + xs);
}
xs ^= train().checksum() * (_valid == null ? 17 : valid().checksum());
return xs;
Expand Down

0 comments on commit df6cc62

Please sign in to comment.