Skip to content

Commit 60fcd42

Browse files
committed
fix: changed row_stack to vstack for numpy robustness
1 parent b2ada27 commit 60fcd42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/atc138/functionality/other_functionality_functions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def fn_building_safety(damage, building_model, damage_consequences, utilities,
159159

160160
# Loop through component repair times to determine the day it stops affecting re-occupancy
161161
num_repair_time_increments = np.sum(damage['fnc_filters']['ext_fall_haz_all'])*num_units # possible unique number of loop increments
162-
edge_lengths = np.row_stack((np.array(building_model['edge_lengths']), np.array(building_model['edge_lengths'])))
162+
edge_lengths = np.vstack((np.array(building_model['edge_lengths']), np.array(building_model['edge_lengths'])))
163163

164164
affected_ratio={}
165165
for side in range(4):

0 commit comments

Comments
 (0)