Skip to content

Fixed leapyear checker in UBEM.py - #1

Open
VartanAhrensKayayan wants to merge 1 commit into
USEModel:mainfrom
VartanAhrensKayayan:patch-1
Open

Fixed leapyear checker in UBEM.py#1
VartanAhrensKayayan wants to merge 1 commit into
USEModel:mainfrom
VartanAhrensKayayan:patch-1

Conversation

@VartanAhrensKayayan

Copy link
Copy Markdown

The leap-year checker logic was wrong. It would fail to identify leap years like 2004 (failed both the or statements). Fixed it by changing the condition.

The leap-year checker logic was wrong. fixed it by changing a condition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant