|
[Rivet-svn] r3935 - in branches/2012-06-aidarivet: include/LWH testblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Sep 24 10:20:37 BST 2012
Author: dgrell Date: Mon Sep 24 10:20:37 2012 New Revision: 3935 Log: NaN segfault not economically fixable, test marked as XFAIL Modified: branches/2012-06-aidarivet/include/LWH/Axis.h branches/2012-06-aidarivet/test/Makefile.am Modified: branches/2012-06-aidarivet/include/LWH/Axis.h ============================================================================== --- branches/2012-06-aidarivet/include/LWH/Axis.h Mon Sep 24 10:03:54 2012 (r3934) +++ branches/2012-06-aidarivet/include/LWH/Axis.h Mon Sep 24 10:20:37 2012 (r3935) @@ -115,6 +115,7 @@ * */ int coordToIndex(double coord) const { + assert( ! isnan(coord) ); if ( coord >= upper ) return OVERFLOW_BIN; else if ( coord < lower ) return UNDERFLOW_BIN; else return int((coord - lower)/binWidth(0)); Modified: branches/2012-06-aidarivet/test/Makefile.am ============================================================================== --- branches/2012-06-aidarivet/test/Makefile.am Mon Sep 24 10:03:54 2012 (r3934) +++ branches/2012-06-aidarivet/test/Makefile.am Mon Sep 24 10:20:37 2012 (r3935) @@ -30,6 +30,7 @@ PATH=$(top_builddir)/bin:$(PATH) TESTS = testMath testMatVec testBoost testCmp testApi testNaN testCmdLine.sh +XFAIL_TESTS = testNaN EXTRA_DIST = testApi.hepmc testCmdLine.sh
More information about the Rivet-svn mailing list |