Skip to content

Commit

Permalink
Fix gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Mar 4, 2024
1 parent a8fe55d commit a78ed8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SRC_engines/src/solver/qualreact.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ double pipereact(Project *pr, int k, double c, double v, long dt)

// Otherwise find bulk & wall reaction rates
/*Modifs V. Harcouet 26-08-2011*/
double c1 = max(0.0, fabs(cwall-c));
double c1 = fmax(0.0, fabs(cwall-c));
double c2= cwall-c;

/* Compute concentration potential */
Expand Down

0 comments on commit a78ed8f

Please sign in to comment.