Forked from
agnumpde / dune-tectonic
43 commits behind the upstream repository.
-
Elias Pipping authoredElias Pipping authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
tobool.hh 192 B
#ifndef SRC_TOBOOL_HH
#define SRC_TOBOOL_HH
#include <dune/common/bitsetvector.hh>
template <class Alloc>
bool toBool(Dune::BitSetVectorConstReference<1, Alloc> x) {
return x[0];
}
#endif