remove redundant check

This commit is contained in:
conrad
2022-09-29 15:29:31 +10:00
parent bba3bbebfe
commit 95f9a2ef74
+1 -1
View File
@@ -40,7 +40,7 @@ arrayops::fill_zeros(eT* dest, const uword n_elem)
{
typedef typename get_pod_type<eT>::result pod_type;
if( (n_elem == 0) || (dest == nullptr) ) { return; }
if(n_elem == 0) { return; }
if(std::numeric_limits<eT>::is_integer || std::numeric_limits<pod_type>::is_iec559)
{