Hi Paul,
Thanks a lot for your code, I have been using it quite a lot for my research and in general, it works very well. Unfortunately, I recently noticed a bug in SP.m: in line 22ff, even if the fourth argument weight is set to false, the if-condition will enter the else and normalize Psi. I guess adding || ~weight to the condition in line 22 would be enough to fix it.
Best,
Nora
Hi Paul,
Thanks a lot for your code, I have been using it quite a lot for my research and in general, it works very well. Unfortunately, I recently noticed a bug in SP.m: in line 22ff, even if the fourth argument
weightis set to false, the if-condition will enter the else and normalize Psi. I guess adding|| ~weightto the condition in line 22 would be enough to fix it.Best,
Nora