mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-07-29 18:57:56 -05:00
simplify: use std::is_same_v<>
This commit is contained in:
@@ -589,7 +589,7 @@ public:
|
|||||||
void processElementFlows(const ElementContext& elemCtx)
|
void processElementFlows(const ElementContext& elemCtx)
|
||||||
{
|
{
|
||||||
OPM_TIMEBLOCK_LOCAL(processElementBlockData);
|
OPM_TIMEBLOCK_LOCAL(processElementBlockData);
|
||||||
if (!std::is_same<Discretization, EcfvDiscretization<TypeTag>>::value)
|
if (!std::is_same_v<Discretization, EcfvDiscretization<TypeTag>>)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const auto& problem = elemCtx.simulator().problem();
|
const auto& problem = elemCtx.simulator().problem();
|
||||||
|
|||||||
Reference in New Issue
Block a user