Skip to content

Commit

Permalink
Update SparseInstance.java
Browse files Browse the repository at this point in the history
A little change of constructor calling to solve the MetaMultilabelGenerator problem. The commit solves the issue Waikato#137 . An example is also given in the comment section
  • Loading branch information
JayKumarr authored Aug 14, 2020
1 parent cca0df1 commit 32e40cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 32e40cc

Please sign in to comment.