Skip to content

FTBFS with GetFEM>=5.4.3 #29

@umlaeute

Description

@umlaeute

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...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions