fix el_half

This commit is contained in:
dzaima 2023-06-15 00:17:41 +03:00
parent 3eac1b767f
commit 2da457dafa

View File

@ -142,7 +142,7 @@ def v_dbl {T & isvec{T}} = [vcount{T}*2](eltype{T})
def v_half{T & isvec{T}} = [vcount{T}/2](eltype{T})
# double element width without changing count
def el_dbl {T & isvec{T}} = [vcount{T}](ty_dbl{eltype{T}})
def el_half{T & isvec{T}} = [vcount{T}](ty_dbl{eltype{T}})
def el_half{T & isvec{T}} = [vcount{T}](ty_half{eltype{T}})
# test if vector has a specific width & element type
def lvec{T, n, w} = 0