Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ma57 parameter fix #645

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo
nychiang committed Jul 27, 2023
commit 0646a8f6bd13c0e884fdc51cddd98131e1e380a3
2 changes: 1 addition & 1 deletion src/LinAlg/hiopLinSolverSymSparseMA57.cpp
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ namespace hiop
keep_ = new int[lkeep_]{0}; // Initialize to 0 as otherwise MA57ED can sometimes fail

iwork_ = new int[5 * n_];
if(icntl_[9-1] > 1 and icntl_[10-1] > 1 ) {
if(icntl_[9-1] > 1 && icntl_[10-1] > 1 ) {
dwork_ = new double[4*n_];
} else if(icntl_[9-1] > 1) {
dwork_ = new double[3*n_];