You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Undefined function or variable 'Sa_calc'.
Error in M2_M3_Main_Run_All (line 962)
M2_Plot_Fragility(xlims(kk,:),Sa_calc,...
Error has to do with code not being able to find "Sa_calc" that is needed by the new function Mw_PBEE_Simple. The Orignal version probably outputs Sa_calc and so wouldn't have been an issue with but it is not part of the package.
The text was updated successfully, but these errors were encountered:
Reported through email:
% [Sas(:,l), EDPs(:,:,l), pd_Cs(:,l), paramNCs(:,:,l), ...
% fragSs(:,:,:,l), DamageProbs(:,:,:,l), ...
% Sa_calc, EL_PPs(:,:,l), EL_PP_cases(:,l), EAL_S(:,l),...
% EAL_NS(:,l), EAL_C(:,l)] = M2_PBEE_Simple_Orig(struc, RD_c, Years);
[Sas(:,l), EDPs(:,:,l), pd_Cs(:,l), paramNCs(:,:,l), ...
fragSs(:,:,:,l), DamageProbs(:,:,:,l), ...
EL_PPs(:,:,l), EL_PP_cases(:,l), EAL_S(:,l),...
EAL_NS(:,l), EAL_C(:,l)] = M2_PBEE_Simple(numCase, RD_c, ...
hazardInfo, SaCalc, EDP, Sa, DSS(l,:),...
DSNS(l,:), Repair_cost_S, Repair_cost_NS,...
Repair_cost_C, T1(l), Years);
Undefined function or variable 'Sa_calc'.
Error in M2_M3_Main_Run_All (line 962)
M2_Plot_Fragility(xlims(kk,:),Sa_calc,...
Error has to do with code not being able to find "Sa_calc" that is needed by the new function Mw_PBEE_Simple. The Orignal version probably outputs Sa_calc and so wouldn't have been an issue with but it is not part of the package.
The text was updated successfully, but these errors were encountered: