Skip to content

Commit fda61d4

Browse files
committed
Update package.d
1 parent 9f9a24e commit fda61d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/interpolate/package.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ auto copyvec(F, size_t N)(ref const F[N] from, ref F[N] to)
239239
*cast(V*) to.ptr = *cast(V*) from.ptr;
240240
}
241241
else
242-
static if (F.sizeof <= double.sizeof && F[N].sizeof >= (double[2]).sizeof && is(__vector(F[N])))
242+
static if (F.sizeof <= double.sizeof && F[N].sizeof >= (double[2]).sizeof && is(__vector(F[M])))
243243
{
244244
import mir.utility;
245245
enum S = _avx ? 32u : 16u;

0 commit comments

Comments
 (0)