grinsfem / grins

Multiphysics Finite Element package built on libMesh
http://grinsfem.github.io
Other
47 stars 39 forks source link

Can't std::swap two different kinds of smart ptr #599

Closed roystgnr closed 3 years ago

roystgnr commented 3 years ago

And in libMesh after 1.6, those two vectors are two different kinds of smart ptr.

We'll rely on NumericVector::swap() here instead. That means we need the full header, too, not just a forward declaration.

This fixes compilation with the latest libMesh git head for me; hopefully it fixes #598 too.

pbauman commented 3 years ago

LGTM, thanks @roystgnr for taking care of this.