Skip to content

Commit

Permalink
Fix for evaluation of parameter derivatives.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodrin committed Jun 21, 2018
1 parent d777aa4 commit 080b425
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions @skpfunction/skpfunction.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@
%
%See also skpfunction/diffXp.

warning('SKPrime:underDevelopment', ...
'This method is under development. Do not trust its output.')

% warning('SKPrime:underDevelopment', ...
% 'This method is under development. Do not trust its output.')
dXp = diffXp(skp);
dwp = @(z) dXp(z)./sqrt(skp.X(z))/2;
dwp = @(z) dXp(z)./feval(skp,z)/2;
end

function dX = diffX(skp, n)
Expand Down

0 comments on commit 080b425

Please sign in to comment.