Skip to content

Commit

Permalink
Update FieldSpecificationManager.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ryar9534 authored Dec 6, 2024
1 parent e872719 commit a51495f
Showing 1 changed file with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,7 @@ FieldSpecificationManager::
string const & targetField )
{

if (fs.isScaling())
{
fs.applyFieldValue< FieldSpecificationMultiply, POLICY >( targetSet, time, targetGroup, targetField );
}
else
{
fs.applyFieldValue< FieldSpecificationEqual, POLICY >( targetSet, time, targetGroup, targetField );
}
fs.applyFieldValue< FieldSpecificationEqual, POLICY >( targetSet, time, targetGroup, targetField );
lambda( fs, targetSet );
} );
}
Expand All @@ -289,14 +282,8 @@ FieldSpecificationManager::
string const & targetField )
{
preLambda( fs, targetSet );
if (fs.isScaling())
{
fs.applyFieldValue< FieldSpecificationMultiply, POLICY >( targetSet, time, targetGroup, targetField );
}
else{
fs.applyFieldValue< FieldSpecificationEqual, POLICY >( targetSet, time, targetGroup, targetField );
}
postLambda( fs, targetSet );
fs.applyFieldValue< FieldSpecificationEqual, POLICY >( targetSet, time, targetGroup, targetField );

} );
}

Expand Down

0 comments on commit a51495f

Please sign in to comment.