lcsim/src/org/lcsim/contrib/uiowa/structural/likelihood
diff -u -r1.1 -r1.2
--- LikelihoodDistribution.java 29 Sep 2005 21:04:49 -0000 1.1
+++ LikelihoodDistribution.java 14 Oct 2005 17:45:18 -0000 1.2
@@ -124,11 +124,11 @@
return m_binContent[binIndex]/m_normalization;
} else if (value < m_min) {
// Underflow
- if (!m_useUnderFlow) { throw new AssertionError("Underflow"); }
+ if (!m_useUnderFlow) { throw new AssertionError("Underflow for ["+m_quantity+"]: "+value+" (allowed range: "+m_min+" to "+m_max+")"); }
return m_underFlow/m_normalization;
} else {
// Overflow
- if (!m_useOverFlow) { throw new AssertionError("Overflow"); }
+ if (!m_useOverFlow) { throw new AssertionError("Overflow for "+m_quantity+"]: "+value+" (allowed range: "+m_min+" to "+m_max+")"); }
return m_overFlow/m_normalization;
}
}