Skip to content

Commit

Permalink
refs #11164. Change branch conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Feb 24, 2015
1 parent c207c84 commit 2fd1c92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/Framework/MDAlgorithms/src/WeightedMeanMD.cpp
Expand Up @@ -62,6 +62,9 @@ void WeightedMeanMD::execHistoHisto(
} else if ((rhs_err > 0) && (lhs_err <= 0)) {
signal = rhs_s;
error_sq = rhs_err * rhs_err;
} else if ((lhs_err > 0) && (rhs_err <= 0)) {
signal = lhs_s;
error_sq = lhs_err * lhs_err;
}

size_t pos = lhs_it->getLinearIndex();
Expand Down

0 comments on commit 2fd1c92

Please sign in to comment.