Address review comments.

This commit is contained in:
Atgeirr Flø Rasmussen
2022-09-29 09:26:43 +02:00
parent 7981fb92e0
commit 66e5da9709
2 changed files with 3 additions and 3 deletions

View File

@@ -428,7 +428,7 @@ public:
} else if (bdyInfo.type == BCType::FREE) {
computeBoundaryFluxFree(problem, bdyFlux, bdyInfo, insideIntQuants, globalSpaceIdx, timeIdx);
} else {
throw std::logic_error("Unknown boundary condition type in computeBoundaryFlux().");
throw std::logic_error("Unknown boundary condition type " + std::to_string(static_cast<int>(bdyInfo.type)) + " in computeBoundaryFlux()." );
}
}