Fix convertFp16 in JavaScript build

This commit is contained in:
Dmitry Kurtaev 2018-04-07 09:44:43 +03:00
parent 23d866ad40
commit 73ca194313

View File

@ -1398,7 +1398,7 @@ cvtScaleHalf_<short, float>( const short* src, size_t sstep, float* dst, size_t
#define DEF_CVT_SCALE_FP16_FUNC(suffix, stype, dtype) \
static void cvtScaleHalf##suffix( const stype* src, size_t sstep, \
dtype* dst, size_t dstep, Size size) \
dtype* dst, size_t dstep, Size size, void*) \
{ \
cvtScaleHalf_<stype,dtype>(src, sstep, dst, dstep, size); \
}