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

Change request to the signature of constructor Channel(IntVar x, Map<Integer,IntVar> bs) #44

Closed
thomasleaute opened this issue Nov 26, 2020 · 2 comments

Comments

@thomasleaute
Copy link

Please change the signature of the Channel constructor from

Channel(IntVar x, Map<Integer,IntVar> bs)  

to

Channel(IntVar x, Map<Integer,? extends IntVar> bs)

This would make it possible to use the Channel constraint with variables that are expressed as subclasses of IntVar.

@krzku
Copy link
Collaborator

krzku commented Dec 12, 2020

Fixed, will be available in the next release.

@krzku krzku closed this as completed Dec 12, 2020
@thomasleaute
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants