Skip to content

SUN_MOON - NORTH POLE #48

Description

@sgbmzm

When the geographic location is latitude 90, i.e. the North Pole, I usually get an error:

line 57, in quad
ZeroDivisionError: divide by zero

The problem is in this line:

xe = -b / (2 * a)

In the file

sun_moon.py

This problem occurs in the MicroPython controller and does not occur on a regular computer

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions