Skip to content

Commit

Permalink
Fix infinite recursion with tf.range() summary (#155)
Browse files Browse the repository at this point in the history
We were dispatching to the `read_data()` method of the same class?
  • Loading branch information
khatchad authored Feb 27, 2024
1 parent 40541db commit 3eeaf91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion com.ibm.wala.cast.python.ml/data/tensorflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@
<class name="range" allocatable="true">
<method name="read_data" descriptor="()LRoot;">
<new def="x" class="Llist" />
<call class="Ltensorflow/functions/constant" name="do" descriptor="()LRoot;" type="virtual" arg0="1" def="y" />
<new def="z" class="Ltensorflow/functions/constant" />
<call class="Ltensorflow/functions/constant" name="do" descriptor="()LRoot;" type="virtual" arg0="z" arg1="1" def="y" />
<putfield class="LRoot" field="0" fieldType="LRoot" ref="x" value="y" />
<return value="x" />
</method>
Expand Down

0 comments on commit 3eeaf91

Please sign in to comment.