Skip to content

Commit

Permalink
Merge pull request #86 from idaholab/wangc/fix_numpy_issue
Browse files Browse the repository at this point in the history
fix numpy issue with dtype
  • Loading branch information
joshua-cogliati-inl authored Sep 13, 2024
2 parents df909c0 + 693c3df commit b10c644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostProcessors/DataLabeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,6 @@ def run(self, inputIn):
dimsDict[self.label] = dims
break
outputDict[self.label].append(np.asarray([label]*historySize))
outputDict[self.label] = np.asarray(outputDict[self.label])
outputDict[self.label] = np.asarray(outputDict[self.label], dtype=object)
outputDict = {'data': outputDict, 'dims':targetDict['dims']}
return outputDict

0 comments on commit b10c644

Please sign in to comment.