There was an error fetching the commit references. Please try again later.
Enhancement in move_constants_before loop
When two loops have assignments to the same symbol with different rhs and both are pulled before the loops, one of them is now renamed. Previously one of them was left inside the loop. Fixes #27
Showing
- pystencils/transformations.py 28 additions, 5 deletionspystencils/transformations.py
- pystencils_tests/test_blocking.py 2 additions, 2 deletionspystencils_tests/test_blocking.py
- pystencils_tests/test_move_constant_before_loop.py 30 additions, 0 deletionspystencils_tests/test_move_constant_before_loop.py
Please register or sign in to comment