solver move matricies

This commit is contained in:
2024-05-04 14:56:50 +02:00
parent 36ef301cb9
commit e71bc588e5
6 changed files with 37 additions and 32 deletions

View File

@@ -37,7 +37,9 @@ static void Test() {
}
}
Vect kernel = solver.Kernel(matrix);
Matrix copy = matrix;
Vect kernel = solver.Kernel(std::move(copy));
Matrix nullVector {matrix.GetRawCount(), 1};
nullVector.Fill(0.0);