mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: build with g++ 5.3
this partially fixes the build on ubuntu xenial. it also breaks due to an updated eigen, but with this you can build with the old eigen instead of the distro supplied eigen.
This commit is contained in:
parent
c11d322ef8
commit
5bc252c4ab
@ -360,6 +360,7 @@ spdiag(const AutoDiffBlock<double>::V& d)
|
||||
Selector(const typename ADB::V& selection_basis,
|
||||
CriterionForLeftElement crit = GreaterEqualZero)
|
||||
{
|
||||
using std::isnan;
|
||||
// Define selector structure.
|
||||
const int n = selection_basis.size();
|
||||
// Over-reserving so we do not have to count.
|
||||
|
Loading…
Reference in New Issue
Block a user