Skip to content

Commit

Permalink
Fix y parameter derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodrin authored and ehkropf committed Jun 22, 2016
1 parent 4ad4d6a commit 33e3d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions @greensC0Dpxy/greensC0Dpxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
case 'y'
singPart = @(z) (1./(alpha - z) ...
- 1./(conj(alpha) - z*conj(alpha)^2))/2/pi;
singDz = @(z) (1./(alpha - z).^2 ...
- 1./(1 - z*conj(alpha)).^2)/2i/pi;
singDz = @(z) 1.0/(2*pi)*(1./(z-alpha).^2 ...
- 1./(conj(alpha).*(z-1./conj(alpha))).^2);

otherwise
error('SKPrime:InvalidParameter', ...
Expand Down

0 comments on commit 33e3d46

Please sign in to comment.