Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Dec 31, 2024
1 parent 4217151 commit eaaf4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numerics/sin_cos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ double f(double x) { // The argument cannot be const.
double const abs_x = std::abs(x);
OSACA_IF(abs_x < 0.1) {
OSACA_RETURN(x);
} OSACA_ELSE_IF (x < 0) { // `else OSACA_IF` works, but upsets the linter.
} OSACA_ELSE_IF(x < 0) { // `else OSACA_IF` works, but upsets the linter.
OSACA_RETURN(f_negative(x));
} else {
OSACA_RETURN(f_positive(x));
Expand Down

0 comments on commit eaaf4ee

Please sign in to comment.