Skip to content

Commit

Permalink
FIX: delete ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandera committed Nov 20, 2019
1 parent 12a5162 commit 05fc324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/smurff-cpp/Tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ TEST_CASE("macauprior/make_dense_prior", "Making MacauPrior with MatrixConfig")
tmp.triangularView<Eigen::Lower>() = prior->FtF_plus_precision;
tmp.triangularView<Eigen::Lower>() -= Ftrue.transpose() * Ftrue;
REQUIRE( tmp.norm() == Approx(0) );

delete prior;
}

TEST_CASE("inv_norm_cdf/inv_norm_cdf", "Inverse normal CDF") {
Expand Down

0 comments on commit 05fc324

Please sign in to comment.