diff --git a/createDL/HazusLossEstimator.cpp b/createDL/HazusLossEstimator.cpp index f0fca7f..0515133 100644 --- a/createDL/HazusLossEstimator.cpp +++ b/createDL/HazusLossEstimator.cpp @@ -608,7 +608,7 @@ double HazusLossEstimator::_SimulateConseq(double q, double q_total,const Fragil //reducing standard deviation - for(int i=0;icurve_type==FragilityCurve::lognormal) conseq+=exp(stat->gaussrand(log(median),dispersion)); else //normal distribution diff --git a/performSIMULATION/OpenSeesPostprocessor.cpp b/performSIMULATION/OpenSeesPostprocessor.cpp index 9f1955c..83f1b07 100644 --- a/performSIMULATION/OpenSeesPostprocessor.cpp +++ b/performSIMULATION/OpenSeesPostprocessor.cpp @@ -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) {