Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Nov 6, 2024
1 parent f7919e0 commit c9124f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mesh/parallel/fci.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ bool load_parallel_metric_component(std::string name, Field3D& component, int of
isValid = mesh->get(tmp, pname, 0.0, false) == 0;
if (not isValid) {
throw BoutException("Could not read {:s} from grid file!\n"
" Fix it up with `zoidberg-update-parallel-metrics <grid>`",
"Regenerate the grid with a recent zoidberg!",
pname);
}
} else {
Expand All @@ -80,7 +80,8 @@ bool load_parallel_metric_component(std::string name, Field3D& component, int of
lmin = lmax = 0.0;
} else {
throw BoutException("{:s} not in grid file but not constant!\n"
" Cannot determine value for parallel slices",
" Cannot determine value for parallel slices.\n"
" Regenerate the grid with a recent zoidberg!",
name);
}
} else {
Expand Down

0 comments on commit c9124f6

Please sign in to comment.