Skip to content

Commit

Permalink
Fixed a couple more integer sign comparisons.
Browse files Browse the repository at this point in the history
  • Loading branch information
CamelliaDPG committed Dec 14, 2020
1 parent 745bdad commit 8700ed7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ namespace Intrepid2 {
INTREPID2_TEST_FOR_EXCEPTION( jacobian.rank() != 4, std::invalid_argument,
">>> ERROR (Intrepid2::CellTools::setJacobian): rank = 4 required for jacobian array." );

INTREPID2_TEST_FOR_EXCEPTION( jacobian.extent(0) != numCells, std::invalid_argument,
INTREPID2_TEST_FOR_EXCEPTION( jacobian.extent_int(0) != numCells, std::invalid_argument,
">>> ERROR (Intrepid2::CellTools::setJacobian): dim 0 (number of cells) of jacobian array must equal number of cells requested from in the workset." );

INTREPID2_TEST_FOR_EXCEPTION( jacobian.extent(1) != points.extent(0), std::invalid_argument,
Expand All @@ -120,7 +120,7 @@ namespace Intrepid2 {
break;
}
case 3: {
INTREPID2_TEST_FOR_EXCEPTION( points.extent(0) != numCells, std::invalid_argument,
INTREPID2_TEST_FOR_EXCEPTION( points.extent_int(0) != numCells, std::invalid_argument,
">>> ERROR (Intrepid2::CellTools::setJacobian): dim 0 (number of cells) of points array must equal number of cells requested from in the workset.");

INTREPID2_TEST_FOR_EXCEPTION( points.extent(2) != cellTopo.getDimension(), std::invalid_argument,
Expand Down

0 comments on commit 8700ed7

Please sign in to comment.