Commit e126099d authored by Andrew Heather's avatar Andrew Heather
Browse files

removed redundant logic

parent bfc0926c
......@@ -122,7 +122,7 @@ bool Foam::OutputFilterFunctionObject<OutputFilter>::execute()
{
ptr_->execute();
if (enabled_ && outputControl_.output())
if (outputControl_.output())
{
ptr_->write();
}
......@@ -139,7 +139,7 @@ bool Foam::OutputFilterFunctionObject<OutputFilter>::end()
{
ptr_->end();
if (enabled_ && outputControl_.output())
if (outputControl_.output())
{
ptr_->write();
}
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment