Skip to content

Commit

Permalink
fix indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
atrayees authored Jun 12, 2024
1 parent 56ea104 commit 594e1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/correlation_matrices/sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ bool is_correlation_matrix(const MT& matrix, const double tol = 1e-8){

if(eigen_solver.info() != Eigen::Success)
{
return false;
return false;
}

//the matrix is positive definite if all eigenvalues are positive
Expand Down Expand Up @@ -151,7 +151,7 @@ void correlation_matrix_uniform_sampling_MT(const unsigned int n, const unsigned
int valid_points = 0;
for(const auto& points : randPoints){
if(is_correlation_matrix(points.mat)){
valid_points++;
valid_points++;
}
}
std::cout << "Number of valid points = " << valid_points << std::endl;
Expand Down

0 comments on commit 594e1d0

Please sign in to comment.