Skip to content

Commit b07f5ac

Browse files
author
Joe Petviashvili
committed
fix for 3.6.0
1 parent fb38035 commit b07f5ac

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/common.jl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ using Compat
44

55
export AF_BACKEND_CPU, AF_BACKEND_CUDA, AF_BACKEND_DEFAULT, AF_BACKEND_OPENCL, AF_BINARY_ADD, AF_BINARY_MAX
66
export AF_BINARY_MIN, AF_BINARY_MUL, AF_CANNY_THRESHOLD_AUTO_OTSU, AF_CANNY_THRESHOLD_MANUAL, AF_COLORMAP_BLUE
7-
export AF_COLORMAP_COLORS, AF_COLORMAP_DEFAULT, AF_COLORMAP_HEAT, AF_COLORMAP_MOOD, AF_COLORMAP_RED, AF_COLORMAP_SPECTRUM
7+
export AF_COLORMAP_COLORS, AF_COLORMAP_DEFAULT, AF_COLORMAP_HEAT, AF_COLORMAP_INFERNO, AF_COLORMAP_MAGMA
8+
export AF_COLORMAP_MOOD, AF_COLORMAP_PLASMA, AF_COLORMAP_RED, AF_COLORMAP_SPECTRUM, AF_COLORMAP_VIRIDIS
89
export AF_CONNECTIVITY_4, AF_CONNECTIVITY_8, AF_CONV_AUTO, AF_CONV_DEFAULT, AF_CONV_EXPAND, AF_CONV_FREQ
910
export AF_CONV_SPATIAL, AF_DIFFUSION_DEFAULT, AF_DIFFUSION_GRAD, AF_DIFFUSION_MCDE, AF_ERR_ARG, AF_ERR_ARR_BKND_MISMATCH
1011
export AF_ERR_BATCH, AF_ERR_DEVICE, AF_ERR_DIFF_TYPE, AF_ERR_DRIVER, AF_ERR_INTERNAL, AF_ERR_INVALID_ARRAY
@@ -253,6 +254,10 @@ const AF_COLORMAP_RED = (UInt32)(3)
253254
const AF_COLORMAP_MOOD = (UInt32)(4)
254255
const AF_COLORMAP_HEAT = (UInt32)(5)
255256
const AF_COLORMAP_BLUE = (UInt32)(6)
257+
const AF_COLORMAP_INFERNO = (UInt32)(7)
258+
const AF_COLORMAP_MAGMA = (UInt32)(8)
259+
const AF_COLORMAP_PLASMA = (UInt32)(9)
260+
const AF_COLORMAP_VIRIDIS = (UInt32)(10)
256261
# end enum af_colormap
257262

258263
# begin enum af_marker_type
@@ -297,8 +302,8 @@ const AF_DIFFUSION_DEFAULT = (UInt32)(0)
297302

298303
# begin enum af_topk_function
299304
const af_topk_function = UInt32
300-
const AF_TOPK_MAX = (UInt32)(1)
301-
const AF_TOPK_MIN = (UInt32)(2)
305+
const AF_TOPK_MIN = (UInt32)(1)
306+
const AF_TOPK_MAX = (UInt32)(2)
302307
const AF_TOPK_DEFAULT = (UInt32)(0)
303308
# end enum af_topk_function
304309

0 commit comments

Comments
 (0)