Bug fix in terms for outer product gradient with analytic derivatives
parent
896ebff012
commit
7683175e8e
|
@ -191,7 +191,7 @@ while notsteady && t<=last
|
|||
Hess = Hess + Hesst;
|
||||
end
|
||||
end
|
||||
dlik(s,:)=DLIKt;
|
||||
dlik(s,:)=dlik(s,:)+DLIKt';
|
||||
end
|
||||
a = a + Ki*prediction_error;
|
||||
P = P - PZ*Ki';
|
||||
|
|
|
@ -142,7 +142,7 @@ while t<=last
|
|||
if analytic_derivation==2 || asy_hess,
|
||||
Hess = Hess + Hesst;
|
||||
end
|
||||
dlikk(s,:)=DLIKt;
|
||||
dlikk(s,:)=dlikk(s,:)+DLIKt';
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue