diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-10-03 12:19:41 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-10-03 12:19:41 +0200 |
commit | 38c73e5f98a73b031330d7b0a5bc831e8d066d71 (patch) | |
tree | daf3802aea50b1c4aa1ad440a4e7c4f9845104bd /searchlib/src/main | |
parent | 0c855ec9883c8f49cca892bed80358647c7cd9c0 (diff) |
Only check types when necessary
Diffstat (limited to 'searchlib/src/main')
-rwxr-xr-x | searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/OperationNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/OperationNode.java b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/OperationNode.java index 0512e1dad2f..1c66686a9fe 100755 --- a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/OperationNode.java +++ b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/OperationNode.java @@ -80,7 +80,7 @@ public final class OperationNode extends CompositeNode { @Override public TensorType type(TypeContext<Reference> context) { - // Compute type using tensor types as arithmetic operators are supported on tensors + // Compute type using tensor types as operation operators are supported on tensors // and is correct also in the special case of doubles. // As all our functions are type-commutative, we don't need to take operator precedence into account TensorType type = children.get(0).type(context); |