Skip to content

Commit

Permalink
Fixed a minor bug. Refs #6968.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Jul 16, 2013
1 parent 146bdbf commit d09b7e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ namespace DataHandling
{
vector<string> terms;
boost::split(terms, line, boost::is_any_of(" "), boost::token_compress_on);
if (terms.size() != 2 || terms.size() != 4)
if (terms.size() != 2 && terms.size() != 4)
{
stringstream errmsg;
errmsg << "Line TOFRG has " << terms.size() << " terms. Different from 2/4 terms in definition.";
Expand Down

0 comments on commit d09b7e4

Please sign in to comment.