[Lme4-commits] r1672 - pkg/lme4/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 17 02:09:37 CET 2012


Author: bbolker
Date: 2012-03-17 02:09:36 +0100 (Sat, 17 Mar 2012)
New Revision: 1672

Modified:
   pkg/lme4/src/optimizer.cpp
Log:

  fixed uninitialized variable (and, hopefully, Windows64 problem)



Modified: pkg/lme4/src/optimizer.cpp
===================================================================
--- pkg/lme4/src/optimizer.cpp	2012-03-16 22:02:51 UTC (rev 1671)
+++ pkg/lme4/src/optimizer.cpp	2012-03-17 01:09:36 UTC (rev 1672)
@@ -58,6 +58,7 @@
 	  d_stop(  stp),
 	  d_verb(  10)
     {
+	d_stop.setForce_stop( 0); // BMB: this was undefined, bad news on Win64
 	if (!d_n || d_lb.size() != d_n ||
 	    d_ub.size() != d_n || d_xstep.size() != d_n)
 	    throw invalid_argument("dimension mismatch");



More information about the Lme4-commits mailing list