Skip to content

Commit

Permalink
re-add accidentially remove variables
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jun 29, 2016
1 parent 3b85f44 commit 17b4a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shogun/distributions/KernelExpFamilyImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ SGMatrix<float64_t> KernelExpFamilyImpl::pinv(SGMatrix<float64_t> A)

JacobiSVD<MatrixXd> svd(eigen_A, ComputeThinU | ComputeThinV);
auto singular_values = svd.singularValues();
auto V=svd.matrixV();
auto U=svd.matrixU();


// tol = eps⋅max(m,n) * max(singularvalues)
// this is done in numpy/Octave & co
Expand Down

0 comments on commit 17b4a62

Please sign in to comment.