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

fix use nil parameter, the MinMaxBig func will throw panic's problem #456

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

ChicChip
Copy link

i fixed fix use nil parameter, the MinMaxBig func will throw panic's problem (#455)

@guymolinari
Copy link
Contributor

guymolinari commented Oct 31, 2024 via email

@ChicChip
Copy link
Author

in bsi64.go and bsi.go file, if foundSet is nil, is it all set to exisitence bitmap?

@ChicChip
Copy link
Author

i think these function may all hava nil pointer problem when parameter is nil

  1. TransposeWithCounts
  2. SumBigValues
  3. IntersectAndTranspose
  4. TransposeWithCounts
  5. Increment

@guymolinari
Copy link
Contributor

guymolinari commented Oct 31, 2024 via email

@ChicChip
Copy link
Author

ChicChip commented Nov 1, 2024

i think these function may all hava nil pointer problem when parameter is nil

  1. TransposeWithCounts
  2. SumBigValues
  3. IntersectAndTranspose
    --4. TransposeWithCounts
  4. Increment

I have set default value for these function, include CompareBigValue

@lemire
Copy link
Member

lemire commented Nov 1, 2024

Running tests.

@guymolinari guymolinari merged commit 1b5ad6c into RoaringBitmap:master Nov 5, 2024
8 checks passed
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.

3 participants