Skip to content

Commit

Permalink
Fix type.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Oct 16, 2024
1 parent 6c331e7 commit 1cfbd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matcalc/elasticity.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _elastic_tensor_from_strains(
strain_states = [tuple(ss) for ss in np.eye(6)]
ss_dict = get_strain_state_dict(strains, stresses, eq_stress=eq_stress, add_eq=self.use_equilibrium)
c_ij = np.zeros((6, 6))
residuals_sum = 0
residuals_sum = 0.0
for ii in range(6):
strain = ss_dict[strain_states[ii]]["strains"]
stress = ss_dict[strain_states[ii]]["stresses"]
Expand Down

0 comments on commit 1cfbd45

Please sign in to comment.