Skip to content

Commit

Permalink
updated numerical_routines.py to be compatible with python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozc committed Feb 3, 2022
1 parent 19df5aa commit d0c9cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FEM_Module/numerical_routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def frequency_sampling(data):
# Obtain frequency array based on resolving resonances with a damping equal eta
return np.logspace(math.log10(data["LowFreq"]),
math.log10(data["HighFreq"]),
total_frequencies, endpoint=True)
int(total_frequencies), endpoint=True)


def max_time_step(glob_stiff, lumped_mass, factor, tolerance, max_iterations):
Expand Down

0 comments on commit d0c9cb8

Please # to comment.