Diff of /src/modules/glm/samplers/IWLS.cc [ec602a] .. [1d7c18]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/glm/samplers/IWLS.cc
+++ b/src/modules/glm/samplers/IWLS.cc
@@ -43,6 +43,7 @@
 }
 
 #define MAX_ITER 100
+#define ANNEALING_TEMPERATURE 20
 
 namespace glm {
 
@@ -168,7 +169,7 @@
 	    _w = 0;
 	    for (unsigned int i = 0; i < MAX_ITER; ++i) {
 		_w += 1.0/MAX_ITER;
-		updateLM(rng, false);
+		updateLM(rng, ANNEALING_TEMPERATURE);
             }
 	    _init = false;
 	}

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks