瀏覽代碼

make Math.round inline again

Simon Krajewski 11 年之前
父節點
當前提交
af0bb0885d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/python/_std/Math.hx

+ 1 - 1
std/python/_std/Math.hx

@@ -224,7 +224,7 @@ extern class Math
 		
 		
 		TODO: need spec
 		TODO: need spec
 	**/
 	**/
-	public static /*inline*/ function round(v:Float):Int {
+	public static inline function round(v:Float):Int {
 		return Math.floor(v + 0.5);
 		return Math.floor(v + 0.5);
 	}
 	}