fuzzpy icon indicating copy to clipboard operation
fuzzpy copied to clipboard

Addition is broken for Triangular fuzzy numbers

Open ezod opened this issue 15 years ago • 0 comments

21:05 @Linkadmin >>> print triangular[0] + triangular[1] 21:05 @Linkadmin Traceback (most recent call last): 21:05 @Linkadmin File "", line 1, in 21:05 @Linkadmin File "fuzz/fnumber.py", line 500, in add 21:05 @Linkadmin self.support + other.support) 21:05 @Linkadmin File "fuzz/fnumber.py", line 576, in init 21:05 @Linkadmin support=support) 21:05 @Linkadmin File "fuzz/fnumber.py", line 460, in init 21:05 @Linkadmin self.kernel = RealRange(kernel) 21:05 @Linkadmin File "fuzz/fnumber.py", line 29, in new 21:06 @Linkadmin raise TypeError('range values must be numeric') 21:06 @Linkadmin TypeError: range values must be numeric

ezod avatar Nov 06 '10 18:11 ezod