Thank you Federico. I did some tests to check what can be wrong but I
failed and till this moment I don't know what was wrong. Fortunately I
did some reorganisation in my code and now it works fine. Sorry for
bothering but after many failures in tests I was really frustrated.
Have a nice day,
Izabela,
It is difficult to tell what's happening without seeing the function code.
However, it appears as if variable p_x were cleared or redefined to have
only 5 components prior to the assignment of two of its elements (those
with indices 1 and 5) when executing the formula.
What I would
Hello,
I have a strange problem with simple calculations which are done inside
a function. I will put here exact data and formula:
p_x=
0.
0.
0.
0.
0.
0.
p_x_pocz=
0.
0.
0.
0.
0.
0.
reakcje=
1. 1.03 2.1 -2.11. 2.
4. 0.92 2.45 -2