Skip to content

Commit

Permalink
Correct the data type in the CELER_VALIDATE message
Browse files Browse the repository at this point in the history
  • Loading branch information
whokion committed Feb 26, 2024
1 parent 5361ddd commit 558ef05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/celeritas/io/NeutronXsReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "corecel/math/Algorithms.hh"
#include "corecel/sys/Environment.hh"
#include "celeritas/Units.hh"
#include "celeritas/io/ImportLivermorePE.hh"
#include "celeritas/io/ImportPhysicsVector.hh"

namespace celeritas
Expand All @@ -30,8 +29,8 @@ NeutronXsReader::NeutronXsReader()
{
std::string const& dir = celeritas::getenv("G4PARTICLEXSDATA");
CELER_VALIDATE(!dir.empty(),
<< "environment variable G4PARTICLEXSDATA is not defined"
" (needed to locate Livermore data)");
<< "environment variable G4PARTICLEXSDATA is not defined "
"(needed to locate neutron elastic cross section data)");
path_ = dir + "/neutron";
}

Expand Down

0 comments on commit 558ef05

Please sign in to comment.