Skip to content

Bitwise XOR used instead of squaring #3

Description

@MarksonChen

At this line:

247310/mfm.py

Line 156 in d010593

self.gammasq=self.gammae^2

The code used ^ (bitwise xor), but I believe the intention was to use **.
As a result, gammasq = 125^2 = 127 instead of gammasq = 125**2 = 15,625.

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