From 6e9aad2a45a367ebd9ff5ff33ea31a743c6794b3 Mon Sep 17 00:00:00 2001 From: nychiang Date: Sun, 29 Oct 2023 16:00:41 -0700 Subject: [PATCH] fix mpi test --- src/Optimization/hiopHessianLowRank.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Optimization/hiopHessianLowRank.cpp b/src/Optimization/hiopHessianLowRank.cpp index 4031156f..26883b59 100644 --- a/src/Optimization/hiopHessianLowRank.cpp +++ b/src/Optimization/hiopHessianLowRank.cpp @@ -1364,13 +1364,13 @@ void hiopHessianInvLowRank_obsolette:: symmetricTimesMat(double beta, hiopMatrixDense& W, double alpha, const hiopMatrixDense& X) { - size_type l = St->m(); - size_type k = W.m(); + size_type l = St->m(); (void)l; + size_type k = W.m(); (void)k; #ifndef NDEBUG size_type n=St->n(); - assert(n==H0->get_size()); assert(k==W.n()); - assert(l==Yt->m()); + assert(l==Yt->m()); + assert(n==H0->get_size()); assert(n==Yt->n()); assert(n==St->n()); assert(k==X.m()); assert(n==X.n()); #endif