Skip to content

Commit cd79afb

Browse files
committed
update test_linear_algebra to reflect pivot templating
1 parent e587300 commit cd79afb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unit_test/test_linear_algebra/test_linear_algebra.H

+4-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,10 @@ void linear_algebra() {
122122
IArray1D pivot;
123123
int info;
124124

125-
dgefa<INT_NEQS>(A, pivot, info);
126-
dgesl<INT_NEQS>(A, pivot, b);
125+
constexpr bool allow_pivot{true};
126+
127+
dgefa<INT_NEQS, allow_pivot>(A, pivot, info);
128+
dgesl<INT_NEQS, allow_pivot>(A, pivot, b);
127129

128130

129131
std::cout << "original x and x from the solve (linpack.H solve): " << std::endl;

0 commit comments

Comments
 (0)