Skip to content

GCC-15 compatibility #1242

@orlitzky

Description

@orlitzky

Two weeks ago, GCC merged some stricter template checks into the 15.x branch:

https://trofi.github.io/posts/322-gcc-15-template-checking-improvements.html

Our CI detected this build failure as a result:

In file included from gfanlib_mixedvolume.h:13,
                 from gfanlib_mixedvolume.cpp:8:
gfanlib_matrix.h: In function 'gfan::Matrix<typ> gfan::operator*(const Matrix<typ>&, const Matrix<typ>&)':
gfanlib_matrix.h:123:18: error: 'const class gfan::Matrix<typ>' has no member named 'vectormultiply'
  123 |         ret[i]=a.vectormultiply(b.column(i));
      |                  ^~~~~~~~~~~~~~

There's no immediate danger, but fixing it now will avoid a flood of build failures when gcc-15 is released.

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