Skip to content

Commit

Permalink
- Set matrix multiplication function to be static
Browse files Browse the repository at this point in the history
  • Loading branch information
plouvart committed Nov 10, 2024
1 parent 55aa072 commit 8d00367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projections/airocean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace { // anonymous namespace
memcpy(this->air_ico_trans, base_air_ico_trans, sizeof(double[23][4][4]));
}

void mult4x4(const double m1[4][4], const double m2[4][4], double res[4][4]) {
static void mult4x4(const double m1[4][4], const double m2[4][4], double res[4][4]) {
for (unsigned char i = 0; i < 4; ++i)
for (unsigned char j = 0; j < 4; ++j)
res[i][j] = (m1[i][0] * m2[0][j])
Expand Down

0 comments on commit 8d00367

Please sign in to comment.