Skip to content

Commit

Permalink
Fix the number of vectors in the matrix
Browse files Browse the repository at this point in the history
in the multiclasslinearmachine example
  • Loading branch information
vigsterkr committed May 8, 2012
1 parent 1306d2d commit 520fb0c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -53,7 +53,8 @@ int main(int argc, char** argv)
stream_features->release_example();
}
stream_features->end_parser();

mat.num_cols = num_vectors;

// Create features with the useful values from mat
CDenseFeatures< float64_t >* features = new CDenseFeatures<float64_t>(mat);

Expand Down

0 comments on commit 520fb0c

Please sign in to comment.