Skip to content

Commit

Permalink
Merge pull request #39 from michael-hartmann/bugfix
Browse files Browse the repository at this point in the history
Avoid crashes when compiling with MSVC
  • Loading branch information
sivaramambikasaran committed Jul 14, 2020
2 parents 00b8980 + f9dd8ac commit ccec6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LowRank.cpp
Expand Up @@ -112,7 +112,7 @@ void LowRank::rookPiv(Mat& L, Mat& R, double tolerance_or_rank,
{
if(eval_at_end == true)
{
new_row_ind = *remaining_row_ind.end();
new_row_ind = *--remaining_row_ind.end();
}

else
Expand Down

0 comments on commit ccec6fe

Please sign in to comment.