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

Number 0 and 1 were rendered as false and true in C++ code #1520

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

mstimberg
Copy link
Member

Usually, this shouldn't be a problem (implicit type cast), but it is at least surprising and may also break tests assuming that the numbers appear in the code.

Usually, this shouldn't be a problem (implicit type cast), but it is at least surprising and may also break test assuming that the numbers appear in the code.
mstimberg added a commit to brian-team/brian2cuda that referenced this pull request Mar 26, 2024
A bit of a silly issue, but 2.6.0 may render 0 and 1 as false and true, breaking a check in the rng code.

See brian-team/brian2#1520
@mstimberg mstimberg merged commit c5a9d4c into master Apr 9, 2024
62 checks passed
@mstimberg mstimberg deleted the fix_rendering_for_0_or_1 branch April 9, 2024 13:49
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