silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2022-11-01 03:38:08 -04:00
parent 658220c69d
commit 80a141d9c8
13 changed files with 16 additions and 22 deletions

View File

@ -375,7 +375,7 @@ class UCL_D_Vec : public UCL_BaseMat {
/// Resize (only if bigger) the allocation to contain cols elements
/** \note Cannot be used on views **/
inline int resize_ib(const int cols)
{ if (cols>_cols) return resize(cols); else return UCL_SUCCESS; }
{ if (cols > (int)_cols) return resize(cols); else return UCL_SUCCESS; }
/// Set each element to zero asynchronously in the default command_queue
inline void zero() { zero(_cq); }