Hermanator
Technical User
I hope that somebody is able to solve this little mystery:
I am working on a numerical simulation program. It calculates a certain device current and puts this in an output file. To keep track of the changes I make to the program, I compared the output files of different versions. After making some small changes that should not influence the calculation algorithm, I observed a small change in the output values. After a long search, I have managed to track it back to the following:
In the program a procedure was declared:
Where "vector" is a declared type of an ARRAY of DOUBLE. Obviously, since all parameters of the procedure are vectors, I changed that line by:
This change causes a small change in the output values, while it should not at all influence the calulation algorithm.
Do the 2 different options signify something different?
I am working on a numerical simulation program. It calculates a certain device current and puts this in an output file. To keep track of the changes I make to the program, I compared the output files of different versions. After making some small changes that should not influence the calculation algorithm, I observed a small change in the output values. After a long search, I have managed to track it back to the following:
In the program a procedure was declared:
Code:
PROCEDURE Calculate(VAR x: vector; y, z: vector);
Code:
PROCEDURE Calculate(VAR x, y, z: vector);
Do the 2 different options signify something different?