Open Tianyu659 opened 10 months ago
@ramirodcv i was fixing something in min/max (see description) and end up making some updates to the function (backward compatible with current demos). would be great if you can take a look at lmk what you think since this was your feature. @itsdawei too
What is the expected behavior when a constant is the best element?
What is the expected behavior when a constant is the best element?
best constant value returned, nothing highlighted, involved array elements Op.READ
What is the expected behavior when a constant is the best element?
best constant value returned, nothing highlighted, involved array elements Op.READ
What does "involved array elements Op.READ" mean?
What is the expected behavior when a constant is the best element?
best constant value returned, nothing highlighted, involved array elements Op.READ
What does "involved array elements Op.READ" mean?
oh any involved array elements will show up in the READ operation list. they are READ and this is recorded
Description
fixed previous behavior of logging None: None in Op.HIGHLIGHT when a constant is selected as the best element during comparisons
updated some APIs to make the function more intuitive and user friendly. The old API should still work fine (none of the demo files are changed and should behave the same).
specifically:
so if users prefer the
None
way to do it it would still work. I mainly wanted to provide an option to call the max function with less confusion when comparing existing elements without transformation. so arguablycould be more straightforward than
TODO
TESTING
Questions
none atm
Status
yapf
pylint
pytest
HISTORY.md