From 3a09e64011a257f0ea6f77675c9fc772bf7d3d99 Mon Sep 17 00:00:00 2001 From: "donald e. boyce" Date: Mon, 26 Feb 2024 14:55:58 -0500 Subject: [PATCH] fixes stiffness matrix typo --- hexrd/material/unitcell.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hexrd/material/unitcell.py b/hexrd/material/unitcell.py index 2acbb22b3..597e8a776 100644 --- a/hexrd/material/unitcell.py +++ b/hexrd/material/unitcell.py @@ -1104,7 +1104,7 @@ def MakeStiffnessMatrix(self, inp_Cvals): for j in range(i): C[i, j] = C[j, i] - self.stifness = C + self.stiffness = C self.compliance = np.linalg.inv(C) def inside_spheretriangle(self, conn, dir3, hemisphere, switch): @@ -1385,8 +1385,6 @@ def color_orientations(self, rgb = self.color_directions(dir3, laueswitch) return rgb - self.stiffness = C - def is_editable(self, lp_name): """ @author Saransh Singh, Lawrence Livermore National Lab