From 573a4753248574fa312f9f4bdf46c04b1c2f1234 Mon Sep 17 00:00:00 2001 From: Kim Louisa Auth <54391668+kimauth@users.noreply.github.com> Date: Wed, 12 Oct 2022 17:23:19 +0200 Subject: [PATCH] plante: fix orientation of returned fe `plante` returned a row instead of a column vector for `fe`. --- calfem/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calfem/core.py b/calfem/core.py index b4e58c0..6763855 100644 --- a/calfem/core.py +++ b/calfem/core.py @@ -2662,7 +2662,7 @@ def plante(ex, ey, ep, D, eq=None): if eq is None: return Ke else: - return Ke, fe.T + return Ke, fe #--------- plane strain -------------------------------------- @@ -2686,7 +2686,7 @@ def plante(ex, ey, ep, D, eq=None): if eq == None: return Ke else: - return Ke, fe.T + return Ke, fe else: info("Error ! Check first argument, ptype=1 or 2 allowed") @@ -4419,4 +4419,4 @@ def beam2crd(ex=None, ey=None, ed=None, mag=None): excd[i, :] = xyc[0, :]+mag*cd[0, :] eycd[i, :] = xyc[1, :]+mag*cd[1, :] - return excd, eycd \ No newline at end of file + return excd, eycd