Skip to content

Commit

Permalink
Refs #7363. Fix warnings on OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Apr 15, 2015
1 parent 8f702c2 commit 98a00a8
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -33,13 +33,13 @@ void addChangeOfBasisMatrixToFieldData(vtkDataObject *dataObject,
if (!dataObject) {
throw std::invalid_argument("Change of basis needs a vtkDataObject");
}
if (!u.size() == 3) {
if (u.size() != 3) {
throw std::invalid_argument("Change of basis requires 3-element u");
}
if (!v.size() == 3) {
if (v.size() != 3) {
throw std::invalid_argument("Change of basis requires 3-element v");
}
if (!w.size() == 3) {
if (w.size() != 3) {
throw std::invalid_argument("Change of basis requires 3-element w");
}

Expand Down

0 comments on commit 98a00a8

Please sign in to comment.