From 594e1d05d1a24a63c4e604a2eac974ea46be8f56 Mon Sep 17 00:00:00 2001 From: atrayees <121290945+atrayees@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:07:26 +0530 Subject: [PATCH] fix indentations --- examples/correlation_matrices/sampler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/correlation_matrices/sampler.cpp b/examples/correlation_matrices/sampler.cpp index f57dd6513..caa414090 100644 --- a/examples/correlation_matrices/sampler.cpp +++ b/examples/correlation_matrices/sampler.cpp @@ -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 @@ -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;