Skip to content

Commit

Permalink
Add non nullability to the bitmap
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Nov 5, 2024
1 parent c0f91af commit 3f24502
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ internal fun validateBitmap(
}

internal fun createCompatibleBitmap(inputBitmap: Bitmap) =
Bitmap.createBitmap(inputBitmap.width, inputBitmap.height, inputBitmap.config)
Bitmap.createBitmap(inputBitmap.width, inputBitmap.height, inputBitmap.config!!)

internal fun validateHistogramDotCoefficients(
coefficients: FloatArray?,
Expand Down

0 comments on commit 3f24502

Please sign in to comment.