Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null board when creating new puzzle file bug fix #625

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

charlestian23
Copy link
Collaborator

Description

Fixed a bug where attempting to save a brand new puzzle file created in LEGUP would cause an error since the length of the proof tree would be 0. This fixes that error by adding an if check to get the puzzle board an alternative way if the length of the proof tree is 0.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to an already existing feature)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Collaborator

@Chase-Grajeda Chase-Grajeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squashes bug, passed tests

@Chase-Grajeda Chase-Grajeda merged commit 7ff8873 into Bram-Hub:dev Oct 3, 2023
@Chase-Grajeda Chase-Grajeda self-assigned this Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants