Skip to content

Bug in SP without weights #1

Description

@luethen

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions