Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

space.Integer and space.Float not allowed to be constant #1167

Open
spiiph opened this issue May 16, 2023 · 0 comments
Open

space.Integer and space.Float not allowed to be constant #1167

spiiph opened this issue May 16, 2023 · 0 comments

Comments

@spiiph
Copy link

spiiph commented May 16, 2023

The Integer.constant property makes a comparison self.low == self.high, but this line prevents low and high from being set to equal values:

if high <= low:

This does not seem intended, and that line 436 should read:

        if high < low:

The same applies to Float.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant