Closed jonathanjouty closed 5 years ago
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 :)
Closed as duplicate of https://github.com/mariomulansky/PySpike/issues/38
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.