diff --git a/resources/bytecode/javFiles/VectorAdd.jav b/resources/bytecode/javFiles/VectorAdd.jav index 49193e9b..d5e50157 100644 --- a/resources/bytecode/javFiles/VectorAdd.jav +++ b/resources/bytecode/javFiles/VectorAdd.jav @@ -5,6 +5,7 @@ import java.lang.Integer; public class VectorAdd { vectorAdd(v1, v2) { var i = 0; + v1 = new Vector(); var erg = new Vector<>(); while (i < v1.size()) { erg.addElement(v1.elementAt(i) + v2.elementAt(i));