Skip to content

Commit

Permalink
fix missing ')'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Aug 1, 2024
1 parent 03e889d commit 17b14e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epanet.c
Original file line number Diff line number Diff line change
Expand Up @@ -4554,7 +4554,7 @@ int DLLEXPORT EN_loadpatternfile(EN_Project p, const char *filename, const char
while (fgets(line, sizeof(line), file) != NULL) {

// Skip lines that don't contain valid numbers
if (!getfloat(line, &value) continue;
if (!getfloat(line, &value)) continue;

// Resize multiplier array if it's full
if (len % CHUNK == 0) {
Expand Down

0 comments on commit 17b14e2

Please sign in to comment.