[R-gregmisc-users] SF.net SVN: r-gregmisc: [1121] trunk/gtools
Brought to you by:
warnes
From: <wa...@us...> - 2007-08-08 13:52:48
|
Revision: 1121 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1121&view=rev Author: warnes Date: 2007-08-08 06:52:47 -0700 (Wed, 08 Aug 2007) Log Message: ----------- Fix bug identified by R-2.6's check routings in binsearch() Modified Paths: -------------- trunk/gtools/DESCRIPTION trunk/gtools/R/binsearch.R Modified: trunk/gtools/DESCRIPTION =================================================================== --- trunk/gtools/DESCRIPTION 2007-08-08 13:48:43 UTC (rev 1120) +++ trunk/gtools/DESCRIPTION 2007-08-08 13:52:47 UTC (rev 1121) @@ -1,7 +1,6 @@ Package: gtools Title: Various R programming tools Description: Various R programming tools -Depends: R Version: 2.4.0 Author: Gregory R. Warnes. Includes R source code and/or documentation contributed by Ben Bolker and Thomas Lumley Modified: trunk/gtools/R/binsearch.R =================================================================== --- trunk/gtools/R/binsearch.R 2007-08-08 13:48:43 UTC (rev 1120) +++ trunk/gtools/R/binsearch.R 2007-08-08 13:52:47 UTC (rev 1121) @@ -105,7 +105,7 @@ warning("Maximum number of iterations reached") retval$flag="Maximum number of iterations reached" retval$where=c(lo,hi) - retval$value=c(fun.lo,fun.hi) + retval$value=c(val.lo,val.hi) } else if( val.lo==target ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |