Skip to content

Commit e0fc9d5

Browse files
committed
Use ld iso N.
#131
1 parent 240473c commit e0fc9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparseSolverBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ namespace strumpack {
716716
assert(ldx >= N);
717717
assert(nrhs >= 1);
718718
auto B = ConstDenseMatrixWrapperPtr(N, nrhs, b, ldb);
719-
DenseMW_t X(N, nrhs, x, N);
719+
DenseMW_t X(N, nrhs, x, ldx);
720720
return this->solve(*B, X, use_initial_guess);
721721
}
722722

0 commit comments

Comments
 (0)