add correct variable type code patcher
This commit is contained in:
parent
f2703fb43f
commit
37f8e9dbf6
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sed -i 's/int/double/g;s/prdouble/print/g;s/Integer.parseInt/Double.parseDouble/g;s/for (double i/for (int i/g;s/for (double j/for (int j/g;s/matrix.py/double-matrix.py/g;s/double p/int p/g;s/double bytesRead/int bytesRead/g;s/double ref_length/int ref_length/g;s/double new/int new/g;s/%4d/%4.3f/g' Matrix.java Main.java
|
||||||
|
|
||||||
|
javac Main.java Matrix.java
|
||||||
|
rm random_matrix.txt
|
Loading…
Reference in New Issue