Closed rainman110 closed 2 weeks ago
It seems, that this for loop
keeps iterating forever.
I don' understand the logic of the loop. After each iteration, the loop iterator is set to the beginning. The node array is not necessarily shrinking, so here's our endless loop.
I dont see why dummy nodes should cause an error here since these should not be registered as nodes in the graph. But indeed the loop looks off, Ill investigate
I am on it. In fact no dummy nodes are required. Here are some steps to reproduce:
Now, I am stuck in a infinite for loop
I can reproduce the issue. Thank you!
I was thinking, that mutating a vector while iterating it is UB. But chatgpt convinced me otherwise, so your new approach seems to be valid.
I was thinking, that mutating a vector while iterating it is UB. But chatgpt convinced me otherwise, so your new approach seems to be valid.
You have some confidence in ChatGPT😜
I have an intelligraph with only dummy nodes. These nodes are not shown in the graph. So far okay.
Now I add other non-dummy nodes (e.g. double input and double display). When I now connect these and execute the graph, GTlab hangs forever.
Update: This is not related to dummy nodes but can be reproduced with out it as well. See comment below https://github.com/dlr-gtlab/intelligraph-module/issues/203#issuecomment-2470445020