Skip to content

spinw.gencoupling() generates negative hMax2 which causes an error #38

Description

@rockspore

I think
hMax2 = sum(obj.basisvector,2);
can be replaced with
hMax2 = abs(sum(obj.basisvector,2));
to solve this problem.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions