diff options
Diffstat (limited to 'document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java')
-rw-r--r-- | document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java b/document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java index 6111b51ca4e..2773f9d31da 100644 --- a/document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java +++ b/document/src/main/java/com/yahoo/document/update/TensorModifyUpdate.java @@ -37,7 +37,7 @@ public class TensorModifyUpdate extends ValueUpdate<TensorFieldValue> { /** * Converts the given tensor type to a type that is compatible for being used in this update (has only mapped dimensions). */ - public static TensorType convertToCompatibleType(TensorType type) { + public static TensorType convertDimensionsToMapped(TensorType type) { TensorType.Builder builder = new TensorType.Builder(); type.dimensions().stream().forEach(dim -> builder.mapped(dim.name())); return builder.build(); |