Skip to content

Commit

Permalink
Avoid Codacy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Mar 17, 2020
1 parent f95ad89 commit b9b94e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-suite/linearleastsquaresregression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace linear_least_square_regression_test {

struct get_item {
Size i;
get_item(Size i) : i(i) {}
explicit get_item(Size i) : i(i) {}
Real operator()(const Array& a) const {
return a[i];
}
Expand Down

0 comments on commit b9b94e2

Please sign in to comment.