diff --git a/unit_tests/UnitTestTpetraHelperObjects.h b/unit_tests/UnitTestTpetraHelperObjects.h index f5f879217d..dc572e058a 100644 --- a/unit_tests/UnitTestTpetraHelperObjects.h +++ b/unit_tests/UnitTestTpetraHelperObjects.h @@ -14,6 +14,19 @@ namespace unit_test_utils { +inline +bool find_col(int col, + const std::vector& cols, + int begin, int end) +{ + for(int i=begin; i constRowView = localMatrix.rowConst(i); - - for(int j=0; j