Skip to content

Commit

Permalink
fix: Cov6f operator(i,j) must be const
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Jan 20, 2024
1 parent 6904444 commit 2551490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edm4eic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ components:
declaration: "
Cov6f() : covariance{} {}\n
Cov6f(std::array<float, 21> vcov) : covariance{vcov}{}\n
float& operator()(unsigned i, unsigned j) {\n
float& operator()(unsigned i, unsigned j) const {\n
if(i > j) {\n
std::swap(i, j);\n
}\n
Expand Down

0 comments on commit 2551490

Please sign in to comment.