Skip to content

Commit

Permalink
Try to appease clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Feb 3, 2025
1 parent 7b9acbe commit 9476984
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions include/openmc/ncrystal_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,10 @@ class NCrystalMat {

//----------------------------------------------------------------------------
// Trivial methods when compiling without NCRYSTAL
std::string cfg() const
{
return "";
}
double xs(const Particle& p) const
{
return -1.0;
}
std::string cfg() const { return ""; }
double xs(const Particle& p) const { return -1.0; }
void scatter(Particle& p) const {}
operator bool() const
{
return false;
}
operator bool() const { return false; }
#endif

private:
Expand Down

0 comments on commit 9476984

Please sign in to comment.