Skip to content

Commit

Permalink
Fix Site::dof error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bpuchala committed Oct 5, 2023
1 parent 99d36dd commit 8dac7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/casm/crystallography/Site.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ SiteDoFSet const &Site::dof(std::string const &_dof_type) const {
return (it->second);
else
throw std::runtime_error(
std::string("In Structure::dof(), this structure does not contain any "
"global DoF's of type ") +
std::string("In Site::dof(), this site does not contain "
"local DoF of type ") +
_dof_type);
}

Expand Down

0 comments on commit 8dac7fc

Please sign in to comment.