boostorg / compute

A C++ GPU Computing Library for OpenCL
http://boostorg.github.io/compute/
Boost Software License 1.0
1.55k stars 333 forks source link

fix variable shadowing in check_results(simple moving average example) #788

Closed antonmyagkov closed 5 years ago

antonmyagkov commented 6 years ago

Variable shadowing is occurred with bool and float 'ret', as result check_results function always return true

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 82.683% when pulling 217f77aa20d2ee24bbc50d14caa544ed11087b7f on u-s:bugfix/variable-shadowing-simple-moving-average into be85263cc1ba22679e8c8feb49fee1932729f80b on boostorg:develop.