Skip to content

Commit

Permalink
Merge pull request #931 from vigsterkr/master
Browse files Browse the repository at this point in the history
Fix for issue #929 and #930
  • Loading branch information
vigsterkr committed Mar 14, 2013
2 parents 83c5966 + 807d8ca commit b85414b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/features/DataGenerator.cpp
Expand Up @@ -104,6 +104,7 @@ SGMatrix<float64_t> CDataGenerator::generate_gaussians(index_t m, index_t n, ind
{
SGVector<float64_t> v = g->sample();
memcpy((result.matrix+j*result.num_rows+i*m*dim), v.vector, dim*sizeof(float64_t));
SG_FREE(v.vector);
}

SG_UNREF(g);
Expand Down

0 comments on commit b85414b

Please sign in to comment.