Skip to content

Commit

Permalink
Fix unresolved prefix (instead of component_prefix)
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianDepriester committed Dec 5, 2024
1 parent 06dc825 commit a989c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticipy/FourthOrderTensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _orientation_average(self, orientations):
@classmethod
def _matrixFromCrystalSymmetry(cls, symmetry='Triclinic', point_group=None, diad='y', prefix=None, **kwargs):
if prefix is None:
prefix = cls.prefix
prefix = cls.component_prefix
values = _parse_tensor_components(prefix, **kwargs)
C = np.zeros((6, 6))
symmetry = symmetry.capitalize()
Expand Down

0 comments on commit a989c27

Please sign in to comment.