Skip to content

Commit db12fbb

Browse files
committed
Complete TODO.
It works for rectangular tensors, but not nested lists/tuples.
1 parent ce47fcd commit db12fbb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

com.ibm.wala.cast.python.ml/source/com/ibm/wala/cast/python/ml/client/TensorGenerator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ else if (valueIK instanceof AllocationSiteInNode) {
313313
AllocationSiteInNode asin = getAllocationSiteInNode(valueIK);
314314
TypeReference reference = asin.getConcreteType().getReference();
315315

316-
// TODO: Does this work for nested lists/tuples? Try
317-
// https://gemini.google.com/share/4db81a3c0908.
318316
if (reference.equals(list) || reference.equals(tuple)) {
319317
OrdinalSet<InstanceKey> objectCatalogPointsToSet =
320318
pointerAnalysis.getPointsToSet(

0 commit comments

Comments
 (0)