Skip to content

Commit

Permalink
Re #7279. Modified print to not show a_number for isotopic averages.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Jun 13, 2013
1 parent 82a4938 commit 3693f3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Framework/Kernel/src/Atom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3228,7 +3228,9 @@ bool operator!=(const Atom& left, const Atom & right)

std::ostream& operator<<(std::ostream& out, const Atom &atom)
{
out << atom.symbol << atom.a_number;
out << atom.symbol;
if (atom.a_number != 0)
out << atom.a_number;
return out;
}

Expand Down

0 comments on commit 3693f3c

Please sign in to comment.