Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion createDL/HazusLossEstimator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ double HazusLossEstimator::_SimulateConseq(double q, double q_total,const Fragil


//reducing standard deviation
for(int i=0;i<q;i++){
for(int i=0;i<(int)q;i++){
if(curve->curve_type==FragilityCurve::lognormal)
conseq+=exp(stat->gaussrand(log(median),dispersion));
else //normal distribution
Expand Down
2 changes: 1 addition & 1 deletion performSIMULATION/OpenSeesPostprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ OpenSeesPostprocessor::processEDPs(){
if (abs2Value > abs1Value)
abs1Value = abs2Value;

json_object_set(response,"scalar_data",json_real(abs2Value));
json_object_set(response,"scalar_data",json_real(abs1Value));

} else if (strcmp(type,"max_drift") == 0) {

Expand Down