From a803806ff0fa6a7a0da218f35d6c43d772d0001e Mon Sep 17 00:00:00 2001 From: Sandeep Krishnamurthy Date: Mon, 28 Jan 2019 12:48:45 -0800 Subject: [PATCH] Fix inline function build error --- src/operator/image/image_random-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operator/image/image_random-inl.h b/src/operator/image/image_random-inl.h index 42e4e9395a94..f37198fb0203 100644 --- a/src/operator/image/image_random-inl.h +++ b/src/operator/image/image_random-inl.h @@ -554,7 +554,7 @@ inline void RandomSaturation(const nnvm::NodeAttrs &attrs, AdjustSaturationImpl(alpha_s, ctx, inputs, req, outputs); } -void RGB2HLSConvert(const float& src_r, +inline void RGB2HLSConvert(const float& src_r, const float& src_g, const float& src_b, float *dst_h,