Skip to content

Commit

Permalink
DataToTensor : Add else
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Oct 31, 2024
1 parent 1912ed7 commit 8ad961b
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 8ad961b

Please sign in to comment.