Index: src/ResolvExpr/PolyCost.cc
===================================================================
--- src/ResolvExpr/PolyCost.cc	(revision 978e5eb2a935600a493cda570c9293584824c675)
+++ src/ResolvExpr/PolyCost.cc	(revision 2f47ea426dc2d246d8866b716dd596ee8ab732c4)
@@ -35,5 +35,5 @@
 		PassVisitor<PolyCost> coster( env, indexer );
 		type->accept( coster );
-		return coster.pass.result;
+		return (coster.pass.result > 0) ? 1 : 0;
 	}
 
@@ -87,5 +87,5 @@
 	ast::Pass<PolyCost_new> costing( symtab, env );
 	type->accept( costing );
-	return costing.core.result;
+	return (costing.core.result > 0) ? 1 : 0;
 }
 
