From f7752dd93e4485282f32c899a90e02e5a3107aa3 Mon Sep 17 00:00:00 2001 From: Daniel Brown <ddb@star.sr.bham.ac.uk> Date: Thu, 31 Jul 2014 18:34:09 +0100 Subject: [PATCH] fixing clause --- pykat/utilities/knm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pykat/utilities/knm.py b/pykat/utilities/knm.py index d58d018..0ebb3ea 100644 --- a/pykat/utilities/knm.py +++ b/pykat/utilities/knm.py @@ -94,7 +94,7 @@ def ROM_HG_knm(weights, mode_in, mode_out, q1, q2, q1y=None, q2y=None, cache=Non npr = mode_in[1] mpr = mode_out[1] - foundSymmetry = np.all(weights.EI["xp"].nodes == -weights.EI["xm"].nodes) and np.all(weights.EI["yp"].nodes == -weights.EI["ym"].nodes) + foundSymmetry = np.all(weights.EI["ym"].nodes == -weights.EI["xm"].nodes) and np.all(weights.EI["xp"].nodes == -weights.EI["xm"].nodes) and np.all(weights.EI["yp"].nodes == -weights.EI["ym"].nodes) if foundSymmetry: if cache == None: -- GitLab