warp icon indicating copy to clipboard operation
warp copied to clipboard

Fixed unrolling bug with static expressions

Open mehdiataei opened this issue 10 months ago • 0 comments

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 check and ruff format --check?

mehdiataei avatar Mar 03 '25 23:03 mehdiataei