Skip to content

Commit

Permalink
Fixed removed code
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Bettencourt committed Apr 24, 2020
1 parent 2134660 commit dc1eeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/belos/src/BelosStatusTestGenResNorm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ StatusType StatusTestGenResNorm<ScalarType,MV,OP>::checkStatus( Iteration<Scalar
if (*p != -1) {
// Scale the std::vector accordingly
testvector_[ *p ] =
scalevector_[ *p ] != zero? resvector_[ *p ] / scalevalue_ : resvector_[ *p ] / scalevalue_;
scalevector_[ *p ] != zero? resvector_[ *p ] / (scalevector_[ *p ] * scalevalue_) : resvector_[ *p ] / scalevalue_;
}
}
}
Expand Down

0 comments on commit dc1eeb6

Please sign in to comment.