Skip to content

Commit 8ef0501

Browse files
committed
MaxAppID commentted out for multiple Proc
1 parent 14b0c74 commit 8ef0501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pmpo_c.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ void polympo_setMPMass_f(MPMesh_ptr p_mpmesh, const int nComps, const int numMPs
540540
auto p_MPs = ((polyMPO::MPMesh*)p_mpmesh)->p_MPs;
541541
PMT_ALWAYS_ASSERT(nComps == 1); //TODO mp_sclr_t
542542
PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getCount());
543-
PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getMaxAppID());
543+
//PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getMaxAppID());
544544

545545
auto mpMass = p_MPs->getData<polyMPO::MPF_Mass>();
546546
auto mpAppID = p_MPs->getData<polyMPO::MPF_MP_APP_ID>();
@@ -562,7 +562,7 @@ void polympo_getMPMass_f(MPMesh_ptr p_mpmesh, const int nComps, const int numMPs
562562
auto p_MPs = ((polyMPO::MPMesh*)p_mpmesh)->p_MPs;
563563
PMT_ALWAYS_ASSERT(nComps == 1); //TODO mp_sclr_t
564564
PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getCount());
565-
PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getMaxAppID());
565+
//PMT_ALWAYS_ASSERT(numMPs >= p_MPs->getMaxAppID());
566566

567567
auto mpMass = p_MPs->getData<polyMPO::MPF_Mass>();
568568
auto mpAppID = p_MPs->getData<polyMPO::MPF_MP_APP_ID>();

0 commit comments

Comments
 (0)