diff --git a/moa/src/main/java/com/yahoo/labs/samoa/instances/SparseInstance.java b/moa/src/main/java/com/yahoo/labs/samoa/instances/SparseInstance.java index 1b8ff6e75..dd4bc5c0d 100644 --- a/moa/src/main/java/com/yahoo/labs/samoa/instances/SparseInstance.java +++ b/moa/src/main/java/com/yahoo/labs/samoa/instances/SparseInstance.java @@ -46,7 +46,7 @@ public SparseInstance(InstanceImpl inst) { * @param numberAttributes the number attributes */ public SparseInstance(double numberAttributes) { - super(1, null, null, (int) numberAttributes); + super((int) numberAttributes); } /**