From 8d8d38839dfa21e62bc153b66e091bddf0e49a8a Mon Sep 17 00:00:00 2001 From: "Joshua J. Cogliati" Date: Wed, 11 Dec 2024 15:06:26 -0700 Subject: [PATCH] Values need to be switched to tuples for hstack in numpy 1.26 --- ravenframework/Models/PostProcessors/LimitSurface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ravenframework/Models/PostProcessors/LimitSurface.py b/ravenframework/Models/PostProcessors/LimitSurface.py index c5232fe96b..927f482781 100644 --- a/ravenframework/Models/PostProcessors/LimitSurface.py +++ b/ravenframework/Models/PostProcessors/LimitSurface.py @@ -410,9 +410,9 @@ def run(self, inputIn = None, returnListSurfCoord = False, exceptionGrid = None, if self.name != exceptionGrid: self.listSurfPointNegative, self.listSurfPointPositive = listSurfPoint[self.name][:nNegPoints-1],listSurfPoint[self.name][nNegPoints:] if merge == True: - evals = np.hstack(evaluations.values()) - listSurfPoints = np.hstack(listSurfPoint.values()) - surfPoint = np.hstack(self.surfPoint.values()) + evals = np.hstack(tuple(evaluations.values())) + listSurfPoints = np.hstack(tuple(listSurfPoint.values())) + surfPoint = np.hstack(tuple(self.surfPoint.values())) returnSurface = (surfPoint, evals, listSurfPoints) if returnListSurfCoord else (surfPoint, evals) else: returnSurface = (self.surfPoint, evaluations, listSurfPoint) if returnListSurfCoord else (self.surfPoint, evaluations)