Skip to content

Commit

Permalink
Bug fix for generate_full_structure
Browse files Browse the repository at this point in the history
  • Loading branch information
kccwing authored Nov 7, 2024
1 parent 60d9df4 commit 60f590e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sharpy/utils/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,12 @@ def generate_full_structure(self,
self.beam_number = beam_number
self.body_number = np.zeros((num_elem,), dtype=int)
self.app_forces = app_forces
if isinstance(self.lumped_mass_nodes, np.ndarray):
if isinstance(lumped_mass_nodes, np.ndarray):
self.lumped_mass_nodes = lumped_mass_nodes
self.lumped_mass = lumped_mass
self.lumped_mass_inertia = lumped_mass_inertia
self.lumped_mass_position = lumped_mass_position
if isinstance(self.lumped_mass_mat_nodes, np.ndarray):
if isinstance(lumped_mass_mat_nodes, np.ndarray):
self.lumped_mass_mat_nodes = lumped_mass_mat_nodes
self.lumped_mass_mat = lumped_mass_mat

Expand Down

0 comments on commit 60f590e

Please sign in to comment.