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

Added casting to unsigned int to ensure positive value for malloc #72

Merged
merged 1 commit into from
May 27, 2024

Conversation

simoneotelie
Copy link
Contributor

Description

Added casting to unsigned int to ensure positive value for malloc.
Geometry test passes. The warning from the compiling is gone.

Closes # .

Checklist

Mandatory:

  • I have added tests to cover my changes
  • All the tests are passing, including my new ones
  • I described my changes in this PR description

Optional:

  • The code I wrote follows good style practices (see PEP 8 and PEP 20).
  • I have updated the docs in relation to my changes, if applicable
  • I have tested also GPU contexts

@freddieknets freddieknets changed the base branch from NoMoreManager to release/v0.4.0 May 27, 2024 18:15
@freddieknets freddieknets merged commit 8097dc0 into xsuite:release/v0.4.0 May 27, 2024
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.

None yet

2 participants