Error in passing parameters
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The line 65 caused an error. While debugging the program I noticed that the error results from parameters passed beteween two function. Here is the debugging result.
(gdb) s
65 RESULT.Val[i,j]:=Det(CoFactor(M,i,j));
(gdb) s
COFACTOR (valM={P = 3, Q = 3, VAL = {{0.77736700000000003,
0.00052805599999999995, 0.045581200000000002}, {
0.00027790900000000001, 0.85903700000000005, 0.046194100000000002}, {
0.061612399999999998, 0.031627799999999998, 0.51033700000000004}}},
I=1, J=1) at mxsect.pas:17
17 RESULT.p:=p-1;
(gdb)
35 CoFactor:=RESULT;
(gdb) p RESULT
$2 = {P = 2, Q = 2, VAL = {{0.85903700000000005, 0.046194100000000002, 0}, {
0.031627799999999998, 0.51033700000000004, 0}, {4.6644053983543095e-62,
1.3980432860956837e-76, 2.6177414113263861e-310}}}
(gdb) s
36 END;
(gdb) s
DET (valM={P = 12297, Q = 13614, VAL = {{1.3001944081567327e-90,
6.2212746124329765e-320, 0}, {0, 0, 1.658479051685509
Additional information:
Reporter: Mazen Neifer
EMail: mazen_neifer at ayna dot com
Mantis conversion info:
- Mantis ID: 2664
- Version: ?
- Fixed in version: 0.99.13