Skip to content

Commit

Permalink
DataToTensor : Add else
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Nov 6, 2024
1 parent a256cf6 commit 65d9a34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/GafferML/DataToTensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,10 @@ void DataToTensor::compute( Gaffer::ValuePlug *output, const Gaffer::Context *co
output->setToDefault();
}
}

ComputeNode::compute( output, context );
else
{
ComputeNode::compute( output, context );
}
}

Gaffer::ValuePlug::CachePolicy DataToTensor::computeCachePolicy( const Gaffer::ValuePlug *output ) const
Expand Down

0 comments on commit 65d9a34

Please sign in to comment.