libmir / mir

Mir (backports): Sparse tensors, Hoffman
http://mir.libmir.org
Boost Software License 1.0
210 stars 20 forks source link

Copy paste mistake in pairwise summation SIMD optimization #360

Closed WalterWaldron closed 7 years ago

WalterWaldron commented 7 years ago

https://github.com/libmir/mir/blob/master/source/mir/sum.d#L883 I believe there's a copy paste mistake: v[0x0] += r[0x10];...v[0xF] += r[0x1F]; where it should be: v[0x0] += v[0x10];...v[0xF] += v[0x1F];

9il commented 7 years ago

Thanks! Fixed in v0.18.3