Skip to content

Fix OpenJDK 16 compile error - cannot convert float[] to double[]#11

Open
robtaylor wants to merge 1 commit intomrmaxent:masterfrom
robtaylor:bugfix/floats-to-doubles
Open

Fix OpenJDK 16 compile error - cannot convert float[] to double[]#11
robtaylor wants to merge 1 commit intomrmaxent:masterfrom
robtaylor:bugfix/floats-to-doubles

Conversation

@robtaylor
Copy link

@robtaylor robtaylor commented Feb 2, 2021

density/Extractor.java:188: error: incompatible types: double[] cannot be converted to float[]
vals[c++] = randextract[i].vals;
^
density/Extractor.java:274: error: incompatible types: float[] cannot be converted to double[]
new Rc(r,c,(float[]) vals.clone());
^
density/Extractor.java:281: error: incompatible types: float[] cannot be converted to double[]
new Rc(r,c,(float[]) vals.clone());Fixes the following compiler error:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant