summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/TensorType.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/tensor/TensorType.java')
-rw-r--r--vespajlib/src/main/java/com/yahoo/tensor/TensorType.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/TensorType.java b/vespajlib/src/main/java/com/yahoo/tensor/TensorType.java
index bf1825446e4..14cd3e70866 100644
--- a/vespajlib/src/main/java/com/yahoo/tensor/TensorType.java
+++ b/vespajlib/src/main/java/com/yahoo/tensor/TensorType.java
@@ -77,13 +77,6 @@ public class TensorType {
return Optional.empty();
}
- /* Returns the bound of this dimension if it is present and bound in this, empty otherwise */
- public Optional<Long> sizeOfDimension(String dimension) {
- Optional<Dimension> d = dimension(dimension);
- if ( ! d.isPresent()) return Optional.empty();
- return d.get().size();
- }
-
/**
* Returns whether this type can be assigned to the given type,
* i.e if the given type is a generalization of this type.