Problems with loop (body). TypeError: body_fun output and input must have identical types
#5457
Unanswered
rietmann-nv
asked this question in
Q&A
Replies: 1 comment
-
Finally figured it out: I now noticed that one of the scoped variables changes from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm working on a scientific code, and having some trouble with building a loop with a somewhat longer loop body. I'm using the following looping features
I have some mutable variables in the loop which are in the
s
context variable, and some read-only variables which are captured in the loop scope.I get the following error:
The only difference I see, is the
int32[]
variable. One hasweak_type=True
and one does not. I'm not even sure which variable thisint32[]
corresponds to, and I can't seem to figure out a way to remove this error.Can you give me some more examples of what I should be looking at?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions