indices increments in generate for loop
Summary
(Summarize the bug encountered concisely)
Describe your setup
tmrg compilation doesn't work when using generate for loop and indices are incremented as ++i
instead of i++
TMRG Version
(Which commit/release are you using?)
Steps to reproduce
(How one can reproduce the issue - this is very important)
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)