diff --git a/samoa-api/src/main/java/org/apache/samoa/learners/clusterers/ClusterInputInstance.java b/samoa-api/src/main/java/org/apache/samoa/learners/clusterers/ClusterInputInstance.java index 53bf4a78..813097ea 100644 --- a/samoa-api/src/main/java/org/apache/samoa/learners/clusterers/ClusterInputInstance.java +++ b/samoa-api/src/main/java/org/apache/samoa/learners/clusterers/ClusterInputInstance.java @@ -55,7 +55,7 @@ private InstancesHeader generateHeader() { @Override public Instance getInstance() { - Instance inst = new DenseInstance(1.0, data); + Instance inst = new DenseInstance(1.0, this.data); inst.setDataset(generateHeader()); return new DataPoint(inst, this.timeStamp); }