#Gaussian Averaging Function

4 messages · Page 1 of 1 (latest)

dense sun
#

It's trying to add two numbers together (looking at your code you're using 16 bit signed integers) but the result is greater than the max value that can be represented by i16.

You likely want to be using a larger integer type, or if you never need the negative numbers which it seems like is the case, you can try changing i16 to u16 which has a larger max value

placid lagoon
#

looks like you accidentally made four copies of this thread in the #981431291683700776 channel?

lapis creek