From 8700ed750e7524b4cdc9943e319566be868bea2e Mon Sep 17 00:00:00 2001 From: "Nathan V. Roberts" Date: Mon, 14 Dec 2020 16:11:05 -0700 Subject: [PATCH] Fixed a couple more integer sign comparisons. --- .../src/Cell/Intrepid2_CellToolsDefValidateArguments.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/intrepid2/src/Cell/Intrepid2_CellToolsDefValidateArguments.hpp b/packages/intrepid2/src/Cell/Intrepid2_CellToolsDefValidateArguments.hpp index 997061ea35da..822af5abd9e3 100644 --- a/packages/intrepid2/src/Cell/Intrepid2_CellToolsDefValidateArguments.hpp +++ b/packages/intrepid2/src/Cell/Intrepid2_CellToolsDefValidateArguments.hpp @@ -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, @@ -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,