Created
May 8, 2011 10:20
-
-
Save mraleph/961280 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/matmul/matmul_v1.js b/matmul/matmul_v1.js | |
index 2c568f5..8a921e5 100644 | |
--- a/matmul/matmul_v1.js | |
+++ b/matmul/matmul_v1.js | |
@@ -37,8 +37,8 @@ function matgen(n) { | |
return a; | |
} | |
-var n = 100; | |
-if (arguments[0]) n = parseInt(arguments[0]); | |
+// shell does not support commandline arguments so just hardcode problem size | |
+var n = 1000; | |
var a = matgen(n); | |
var b = matgen(n); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment