Bug#1020834: amgcl: FTBFS on i386: error: no match for 'operator*' (operand types are 'mba::MBA<2>::index' {aka 'std::array<unsigned int, 2>'} and 'long unsigned int')

Andreas Beckmann anbe at debian.org
Tue Sep 27 11:22:45 BST 2022


Source: amgcl
Version: 1.4.3-2
Severity: normal
Tags: ftbfs
Justification: fails to build from source

amgcl FTBFS on i386 with some mismatched types:

/build/amgcl-1.4.3/examples/mpi/mba.hpp:662:33: error: no match for 'operator*' (operand types are 'mba::MBA<2>::index' {aka 'std::array<unsigned int, 2>'} and 'long unsigned int')
  662 |                     grid = grid * 2ul - 1ul;
      |                            ~~~~~^~~~~

/build/amgcl-1.4.3/examples/mpi/mba.hpp:679:29: error: no match for 'operator*' (operand types are 'mba::MBA<2>::index' {aka 'std::array<unsigned int, 2>'} and 'long unsigned int')
  679 |                 grid = grid * 2ul - 1ul;
      |                        ~~~~~^~~~~


Andreas



More information about the debian-science-maintainers mailing list