diff --git a/.gitignore b/.gitignore index b95ddf71..4c17f0a1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ ABAGAIL.jar *.war *.ear manifest.mf +/bin diff --git a/src/shared/Instance.java b/src/shared/Instance.java index 1380a967..839cf7ef 100644 --- a/src/shared/Instance.java +++ b/src/shared/Instance.java @@ -151,7 +151,7 @@ public double getContinuous(int i) { * @return the value */ public int getDiscrete(int i) { - return (int) data.get(i); + return (int) Math.round(data.get(i)); } /**