Open cwschilly opened 3 weeks ago
Some blocks, such as this one in rom/impl/galerkin_steady_system_default.hpp, are guarded by #ifdef PRESSIO_ENABLE_CXX17:
rom/impl/galerkin_steady_system_default.hpp
#ifdef PRESSIO_ENABLE_CXX17
#ifdef PRESSIO_ENABLE_CXX17 fomSystem_.get().residualAndJacobianAction(fomState_, fomResidual_, phi, std::optional<fom_jac_action_result_type *>(&fomJacAction_)); #else fomSystem_.get().residualAndJacobianAction(fomState_, fomResidual_, phi, &fomJacAction_); #endif
Since we now require 17 as the minimum C++ version, we can simplify these sections.
Some blocks, such as this one in
rom/impl/galerkin_steady_system_default.hpp
, are guarded by#ifdef PRESSIO_ENABLE_CXX17
:Since we now require 17 as the minimum C++ version, we can simplify these sections.