Skip to content

Compile with Reeber fails: "no matching function for call to FabComponentBlock" #96

@n8xm

Description

@n8xm

When I attempt to compile the LyA project with Reeber enabled on the Nyx development branch, GCC gives me the following error:

../../Util/reeber/src/reeber.cpp:433:98: error: no matching function for call to 
‘FabComponentBlock<double, 3>::FabComponentBlock(diy::GridRef<double, 3>&, 
std::vector<std::__cxx11::basic_string<char> >&, std::vector<diy::GridRef<double, 3>, 
std::allocator<diy::GridRef<double, 3> > >&, int&, int&, const diy::DiscreteBounds&, 
diy::AMRLink::Bounds&, diy::AMRLink::Bounds&, int, AMRLink*&, const Real&, 
const bool&, bool, const Real&)’
  433 |                                 new_link, absolute_rho, negate, /*absolute = */ true, cell_volume),
      |                                                                                                  ^

If I use clangd to lint the code, I get the following on line 430:

No matching constructor for initialization of 'Block' (aka 'FabComponentBlock<double, 3>')

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