Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix crasher in conjugate index
  • Loading branch information
Soeren Sonnenburg committed May 8, 2012
1 parent 9e4616e commit cf5e351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/multiclass/ConjugateIndex.cpp
Expand Up @@ -116,7 +116,7 @@ bool CConjugateIndex::train(CFeatures* train_features)
class_feature_matrix.matrix,num_features,
0.0,matrix.matrix,count);

CMath::inverse(SGMatrix<float64_t>(matrix.matrix,count,count));
CMath::inverse(matrix);

cblas_dgemm(CblasColMajor,CblasNoTrans,CblasTrans,
count,num_features,count,
Expand Down

0 comments on commit cf5e351

Please sign in to comment.