Skip to content

Commit

Permalink
BUG: Fixes bug where CreateDataArrayAdvanced initializes the arrays t…
Browse files Browse the repository at this point in the history
…wice.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Feb 18, 2025
1 parent 5d2e649 commit a861ba4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,6 @@ Result<> CreateDataArrayAdvancedFilter::executeImpl(DataStructure& dataStructure
const std::atomic_bool& shouldCancel) const
{
auto path = filterArgs.value<DataPath>(k_DataPath_Key);

ExecuteNeighborFunction(CreateAndInitArrayFunctor{}, ConvertNumericTypeToDataType(filterArgs.value<NumericType>(k_NumericType_Key)), dataStructure.getDataAs<IDataArray>(path), "0");

auto initType = static_cast<InitializeType>(filterArgs.value<uint64>(k_InitType_Key));

auto seed = filterArgs.value<std::mt19937_64::result_type>(k_SeedValue_Key);
Expand Down

0 comments on commit a861ba4

Please sign in to comment.