Skip to content

Commit 9187165

Browse files
committed
Fixed conflict
1 parent b163bc8 commit 9187165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/datasketches/cpc/CpcSketchCrossLanguageTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void checkAllFlavorsGo() throws IOException {
8989
int flavorIdx = 0;
9090
for (int n: nArr) {
9191
final byte[] bytes = Files.readAllBytes(goPath.resolve("cpc_n" + n + "_go.sk"));
92-
final CpcSketch sketch = CpcSketch.heapify(Memory.wrap(bytes));
92+
final CpcSketch sketch = CpcSketch.heapify(MemorySegment.ofArray(bytes));
9393
assertEquals(sketch.getFlavor(), flavorArr[flavorIdx++]);
9494
assertEquals(sketch.getEstimate(), n, n * 0.02);
9595
}

0 commit comments

Comments
 (0)