-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report with Loop #58
Comments
This is a well understood issue of the current implementation of Dr.Jit symbolic loops. So far we have always assumed that the loop state variables wouldn't be referenced elsewhere (e.g. otherwise would be copied). In the future we might change the API of In this specific example you expect Let's keep it open as it is an important issue and should be fixed in the future somehow. |
I understand the issue and consideration, thanks! |
A case where I found a possible bug with drjit Loop feature:
Adding a copy in the first line of
def f(x):
solves this issue, but it just appears strange to me that after instantiatingLoop
, the original jit variable becomes a placeholder without any notice.The text was updated successfully, but these errors were encountered: