mariomulansky/PySpike

Incorrect integrals for PieceWiseLinFunc (and possibly DiscreteFunc too)

Closed this issue · 2 comments

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.

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 #38