Forum

Mean nodes bug


#1

hi
seems there is a bug in Mean nodes both original and vector
Mean value of the spread of equal numbers do not actually equal to the number itself. Please find screenshot and patch attached.

MeanBug.v4p (7.8 kB)


#2

i think this is not a bug with the Mean (Spectral) nodes, but a broader issue related to floating point operations. in the patch, you’ve noticed that changing the Epsilon to a small, non-zero value fixes the problem. you’ll also notice that if you try the same with integer values, you will have no trouble even with epsilon at 0.


#3

anyway should’t be like that


#4

I like nice nodes better than mean nodes… nodes should be nice to each other!