Skip to content

Commit

Permalink
Fix compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfav committed Nov 22, 2017
1 parent 5c815c1 commit d77e52b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dali/src/main/java/at/favre/lib/dali/blur/BlurKernels.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,25 @@ public final class BlurKernels {
private BlurKernels() {
}

float[] GAUSSIAN_5x5 = new float[]{
public static final float[] GAUSSIAN_5x5 = new float[]{
0.0030f, 0.0133f, 0.0219f, 0.0133f, 0.0030f,
0.0133f, 0.0596f, 0.0983f, 0.0596f, 0.0133f,
0.0219f, 0.0983f, 0.1621f, 0.0983f, 0.0219f,
0.0133f, 0.0596f, 0.0983f, 0.0596f, 0.0133f,
0.0030f, 0.0133f, 0.0219f, 0.0133f, 0.0030f
};

float[] BOX_5x5 = new float[]{
public static final float[] BOX_5x5 = new float[]{
0.04f, 0.04f, 0.04f, 0.04f, 0.04f,
0.04f, 0.04f, 0.04f, 0.04f, 0.04f,
0.04f, 0.0425f, 0.05f, 0.0425f, 0.04f,
0.04f, 0.04f, 0.04f, 0.04f, 0.04f,
0.04f, 0.04f, 0.04f, 0.04f, 0.04f
};

float[] BOX_3x3 = new float[]{
public static final float[] BOX_3x3 = new float[]{
0.111111111111111111111111112f, 0.111111111111111111111111112f, 0.111111111111111111111111112f,
0.111111111111111111111111112f, 0.13f, 0.111111111111111111111111112f,
0.111111111111111111111111112f, 0.111111111111111111111111112f, 0.111111111111111111111111112f
};

}

0 comments on commit d77e52b

Please sign in to comment.