Skip to content

Commit ba98228

Browse files
committed
Inline local variable.
1 parent b6a5e1b commit ba98228

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -793,11 +793,10 @@ private Set<TensorType> getTensorType(
793793

794794
if (reference.equals(list)) { // TODO: This can also be a tuple of Tensor.
795795
// We have a list of integers that represent the shape.
796-
PointerKey pointerKeyForObjectCatalog =
797-
((AstPointerKeyFactory) builder.getPointerKeyFactory())
798-
.getPointerKeyForObjectCatalog(asin);
799796
OrdinalSet<InstanceKey> objectCatalogPointsToSet =
800-
pointerAnalysis.getPointsToSet(pointerKeyForObjectCatalog);
797+
pointerAnalysis.getPointsToSet(
798+
((AstPointerKeyFactory) builder.getPointerKeyFactory())
799+
.getPointerKeyForObjectCatalog(asin));
801800

802801
// We expect the object catalog to contain a list of integers. Each element in the array
803802
// corresponds to the set of possible dimensions for that index.

0 commit comments

Comments
 (0)