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
Enumerated ConditionSet #32315
Comments
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
Feel free to add more examples or make some changes. I removed the pre-processing with If you agree with the changes, it's ready for review. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Strong -1 on factory functions. It further separates the code from what it works on and now you don't have a natural "isinstance" |
comment:6
The problem I faced was that Do you have a better idea? |
comment:7
If it does need to be used by subclasses, then it should be Also, thank you for adding this feature. |
comment:8
And leave a note that the sub-class, i.e. enumerated version, is not intended to be used by the end-user? |
comment:9
Otherwise, if |
comment:10
They are never meant to be called directly, no. Although I don't necessarily see why we need a subclass. I also don't get how you are getting an infinite loop. It is how function inheritance works. |
comment:11
Replying to @tscrim:
Thank you Travis for suggesting this, and your help in general! :) Replying to @tscrim:
A non-enumerated set is not supposed to have an
Well, |
comment:12
Replying to @mjungmath:
You would likely have a |
comment:13
I see, then no sub-classing is necessary. That makes this ticket indeed minimal-invasive. The latter is good to know. Does |
comment:14
I am actually sure if a class has both of them implemented what happens. If it is in a base class, then the order is clear I think. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:16
Alright. Small misunderstanding, huge impact. This should be fine now. |
comment:17
Thank you Travis for pointing these things out. |
comment:18
Thanks. LGTM. |
Reviewer: Travis Scrimshaw |
comment:19
Thanks for implementing this! |
This comment has been minimized.
This comment has been minimized.
Changed branch from public/32315_conditionset_enumerated to |
We implement a support for enumerated sets of
ConditionSet
(see #32089).CC: @mkoeppe @tscrim @trevorkarn
Component: symbolics
Author: Michael Jung
Branch/Commit:
b5e4168
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32315
The text was updated successfully, but these errors were encountered: