From 69c0d2cf02300c5e1095314490a8574567131688 Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Tue, 2 Feb 2021 20:22:14 +0000 Subject: [PATCH] Fix OpenJDK 16 compile error - cannot convert float[] to double[] --- density/Extractor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/density/Extractor.java b/density/Extractor.java index 9f7fa59..7922f7d 100644 --- a/density/Extractor.java +++ b/density/Extractor.java @@ -182,7 +182,7 @@ else if (!grids[i].getDimension().equals(dimension)) return; } features = new Feature[ngrids]; - final float[][] vals = new float[numBackground][ngrids]; + final double[][] vals = new double[numBackground][ngrids]; int c=0; for (int i=0; i