micromath icon indicating copy to clipboard operation
micromath copied to clipboard

Impl Mean for Iterator<Item = &f32> as well?

Open TheNeikos opened this issue 1 year ago • 1 comments

Currently you can't use it for an Iterator with references. You could fix it with a .copied(), but this is not always super clear, as the error simply says "mean is not implemented".

I can't think of a reason why it could be a problem

TheNeikos avatar Nov 13 '24 10:11 TheNeikos

Sure, want to open a PR?

tarcieri avatar Nov 13 '24 13:11 tarcieri