summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-05-30 09:58:58 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-05-30 09:58:58 +0200
commit2a4e6f2cf0c859649a98833c59072b8926f59a71 (patch)
tree6eb2fc946f6f78fcf4d6e9914e977f54710aef3d /vespajlib/src/test/java/com
parent375ec19eca1e42badeef2ea2dc5f9f3713571594 (diff)
Remove empty to avoid class-init deadlock
Diffstat (limited to 'vespajlib/src/test/java/com')
-rw-r--r--vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java b/vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java
index 09b6e79a101..51d2de6c11f 100644
--- a/vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java
+++ b/vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java
@@ -34,7 +34,7 @@ public class IndexedTensorTestCase {
@Test
public void testSingleValue() {
- Tensor singleValue = Tensor.Builder.of(TensorType.empty).cell(TensorAddress.empty, 3.5).build();
+ Tensor singleValue = Tensor.Builder.of(TensorType.empty).cell(TensorAddress.of(), 3.5).build();
assertTrue(singleValue instanceof IndexedTensor);
assertEquals("{3.5}", singleValue.toString());
Tensor singleValueFromString = Tensor.from(TensorType.empty, "{3.5}");