|
[yoda-svn] r584 - trunk/include/YODA/Utilsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Apr 8 10:52:43 BST 2013
Author: dgrell Date: Mon Apr 8 10:52:43 2013 New Revision: 584 Log: Fixed BinSearcher syntax (again?) Modified: trunk/include/YODA/Utils/BinSearcher.h Modified: trunk/include/YODA/Utils/BinSearcher.h ============================================================================== --- trunk/include/YODA/Utils/BinSearcher.h Fri Apr 5 14:42:24 2013 (r583) +++ trunk/include/YODA/Utils/BinSearcher.h Mon Apr 8 10:52:43 2013 (r584) @@ -174,8 +174,8 @@ } size_t estimate(const double x) const { - size_t y = (size_t)(*_est)(x); - size_t yi = 0 ? (y < 0) : y; + double y = (*_est)(x); + size_t yi = (y < 0) ? 0 : y; return (yi > _max) ? _max : yi; }
More information about the yoda-svn mailing list |