shithub: mc

Download patch

ref: e6348f2c9c194b15960dab8695ddc1f250655ebe
parent: 2eefb4d95ab159a313627f14f20e372ca188f1c5
author: Ori Bernstein <[email protected]>
date: Wed Sep 25 14:14:57 EDT 2013

Make the test program typecheck

--- a/test/sqrt.myr
+++ b/test/sqrt.myr
@@ -16,7 +16,7 @@
 	var iter
 	var i;
 
-	val = 1;
+	val = 1.0;
 	for i = 0; i < Maxiter; i++
 		iter = 0.5*(val - x/val)
 		if abs(val - iter) < Eps