Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
+ v destroyed
  • Loading branch information
iglesias committed Feb 27, 2012
1 parent 7379fa6 commit a5e9781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/distance/MahalanobisDistance.cpp
Expand Up @@ -74,6 +74,7 @@ float64_t CMahalanobisDistance::compute(int32_t idx_a, int32_t idx_b)
float64_t result = cblas_ddot(v.vlen, v.vector, 1, diff.vector, 1);

((CSimpleFeatures<float64_t>*) lhs)->free_feature_vector(bvec, idx_b, bfree);
v.destroy_vector();

if (disable_sqrt)
return result;
Expand Down

0 comments on commit a5e9781

Please sign in to comment.