warp
warp copied to clipboard
Fixed unrolling bug with static expressions
Category
- [ ] New feature
- [x] Bugfix
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Other (please explain)
Description
Fixes https://github.com/Autodesk/XLB/issues/114
Forced loop unrolling when wp.static expressions are detected prevents runtime evaluation errors caused by undefined loop variables.
Changelog
- Bug fix: Forced loop unrolling for wp.static expressions to avoid runtime errors from undefined variables.
Before your PR is "Ready for review"
- [x] Do you agree to the terms under which contributions are accepted as described in Section 9 the Warp License?
- [ ] Necessary tests have been added
- [ ] Documentation is up-to-date
- [ ] Auto-generated files modified by compiling Warp and building the documentation have been updated (e.g.
stubs.py,functions.rst) - [x] Code passes
ruff checkandruff format --check?