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

survey with QueryDPDataGen{Min: $x, Max: $x} panic for ∀x #21

Closed
tharvik opened this issue Oct 31, 2019 · 0 comments
Closed

survey with QueryDPDataGen{Min: $x, Max: $x} panic for ∀x #21

tharvik opened this issue Oct 31, 2019 · 0 comments
Labels
archived wontfix This will not be worked on

Comments

@tharvik
Copy link
Contributor

tharvik commented Oct 31, 2019

Running a survey with the same value of min and max for QueryDPDataGen panic a goroutine with

panic: invalid argument to Intn

goroutine 49 [running]:
math/rand.(*Rand).Intn(0xc00009a1b0, 0x0, 0x133cee0)
	/usr/lib/go/src/math/rand/rand.go:169 +0x9c
math/rand.Intn(...)
	/usr/lib/go/src/math/rand/rand.go:329
github.com/ldsec/unlynx/data.random(0x1, 0x1, 0x1)
	/home/tharvik/.go/pkg/mod/github.com/ldsec/unlynx@v1.4.0/data/handle_data.go:29 +0xf9
github.com/ldsec/unlynx/data.CreateInt64Slice(0x1, 0x1, 0x1, 0x0, 0x0, 0x0)
	/home/tharvik/.go/pkg/mod/github.com/ldsec/unlynx@v1.4.0/data/handle_data.go:168 +0x84
github.com/ldsec/drynx/protocols.createFakeDataForOperation.func1(0xc0000223e4, 0x1, 0x1, 0x1, 0xc0003f6760, 0x1, 0x1, 0x0)
	/home/tharvik/c4dt/drynx/protocols/data_collection_protocol.go:380 +0x80
created by github.com/ldsec/drynx/protocols.createFakeDataForOperation
	/home/tharvik/c4dt/drynx/protocols/data_collection_protocol.go:378 +0x12b
@tharvik tharvik changed the title survey drynx_lib.QueryDPDataGen{Min: $x, Max: $x} panic for ∀x survey QueryDPDataGen{Min: $x, Max: $x} panic for ∀x Oct 31, 2019
@tharvik tharvik changed the title survey QueryDPDataGen{Min: $x, Max: $x} panic for ∀x survey with QueryDPDataGen{Min: $x, Max: $x} panic for ∀x Oct 31, 2019
@ChristianMct ChristianMct added wontfix This will not be worked on archived labels May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archived wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants