Skip to content

Commit

Permalink
Fix crash with some compiler in case of KLU singular error
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Jun 27, 2024
1 parent 26c9904 commit d917306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/cpp/lu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ JNIEXPORT jdouble JNICALL Java_com_powsybl_math_matrix_SparseLUDecomposition_upd
} catch (...) {
powsybl::jni::throwMatrixException(env, "Unknown exception");
}
return 0;
}

/*
Expand Down

0 comments on commit d917306

Please sign in to comment.