Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nychiang committed Jun 30, 2023
1 parent d8fcaa3 commit eb50e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Optimization/hiopHessianLowRank.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ hiopHessianLowRank::hiopHessianLowRank(hiopNlpDenseConstraints* nlp, int max_mem
#ifdef HIOP_USE_MPI
buff_kxk_ = new double[nlp->m() * nlp->m()];
buff_2lxk_ = new double[nlp->m() * 2 * l_max_];
buff1_lxlx3_ = new double[3*l_max_ * l_max_];
buff2_lxlx3_ = new double[3*l_max_ * l_max_];
buff1_lxlx3_ = new double[3 * l_max_ * l_max_];
buff2_lxlx3_ = new double[3 * l_max_ * l_max_];
#else
//not needed in non-MPI mode
buff_kxk_ = nullptr;
Expand Down

0 comments on commit eb50e56

Please sign in to comment.