Skip to content
Snippets Groups Projects
Commit d484d737 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

Idriss edit correction for failed test

parent 1f1ccc02
No related branches found
No related tags found
1 merge request!400Imt edits
...@@ -136,7 +136,7 @@ public class Idriss_2014 implements GroundMotionModel { ...@@ -136,7 +136,7 @@ public class Idriss_2014 implements GroundMotionModel {
double T = c.imt.period(); double T = c.imt.period();
s1 *= (T <= 0.05) ? log(0.05) : (T < 3.0) ? log(T) : log(3.0); s1 *= (T <= 0.05) ? log(0.05) : (T < 3.0) ? log(T) : log(3.0);
} else { } else {
s1 *= 0.05; s1 *= log(0.05);
} }
double s2 = 0.06; double s2 = 0.06;
s2 *= (Mw <= 5.0) ? 5.0 : (Mw < 7.5) ? Mw : 7.5; s2 *= (Mw <= 5.0) ? 5.0 : (Mw < 7.5) ? Mw : 7.5;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment