Incorrect integrals for PieceWiseLinFunc (and possibly DiscreteFunc too)
Closed this issue · 2 comments
jonathanjouty commented
Didn't think to have a look at the other function classes, but seems to be similar issues as with #33, that it doesn't deal well with certain edge cases.
mariomulansky commented
PieceWise Linear likely has a similar issue. For DiscreteFunction, an integral between "support points" doesn't really make sense, and should probably just return 0. However, I'm not sure what the code does right now, worth having a look :)
mariomulansky commented
Closed as duplicate of #38