Skip to content

Commit

Permalink
Pass pointer instead of object
Browse files Browse the repository at this point in the history
  • Loading branch information
octave-user committed Aug 18, 2024
1 parent 4ca42ee commit e5fbc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pastix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ bool PastixObject<T>::solve(DenseMatrixType& b, DenseMatrixType& x, pastix_trans
return false;
}

spmScalMat(1. / normA, spm, b.columns(), b.fortran_vec(), b.rows());
spmScalMat(1. / normA, &spm, b.columns(), b.fortran_vec(), b.rows());

x = b;

Expand Down

0 comments on commit e5fbc95

Please sign in to comment.