As of gmm-5.4.3, gmm::lapack_ipvt is now a typedef to std::vector, which means that we can no longer use the .get() accessor, as in
|
#if defined(GMM_VERSION) |
|
pivot->vr[i] = pivot__.get(i); |
the commit that introduced the change is https://git.savannah.nongnu.org/cgit/getfem.git/commit/?id=cbe1442c4bb2b4fea804d47054ab55dc0bfe238c
the fix is to simply use the [] operator.
it's slightly complicated by the fact, that there's no preprocessor define to query for this API change. (at least none that i've found; i only found GMM_VERSION, but this is a string literal, so not usable for #if...)
As of gmm-5.4.3,
gmm::lapack_ipvtis now a typedef tostd::vector, which means that we can no longer use the.get()accessor, as inplugins/6.x/src/linear_algebra/linear_algebra.cpp
Lines 3506 to 3507 in d614ade
the commit that introduced the change is https://git.savannah.nongnu.org/cgit/getfem.git/commit/?id=cbe1442c4bb2b4fea804d47054ab55dc0bfe238c
the fix is to simply use the
[]operator.it's slightly complicated by the fact, that there's no preprocessor define to query for this API change. (at least none that i've found; i only found
GMM_VERSION, but this is a string literal, so not usable for#if...)