Revision history [back]

It should be. That's a bug.

In fact, it's the first thing on the list at Ticket #11225.

It probably wouldn't even be that hard to fix. The problem is that setup_for_eval_on_grid wants to use fast_float but Piecewise guys don't have that.

It should be. That's a bug.

In fact, it's the first thing on the list at Ticket #11225.

It probably wouldn't even be that hard to fix. The problem is that setup_for_eval_on_grid wants to use fast_float but Piecewise guys don't have that.

sage: f = Piecewise([[(-2,1),1],[(1,4),x]])