Comment 7 for bug 1473317

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

For an SBasis containing only one Linear that has equal start and end points, the pop_back() that removes superfluous basis elements will remove that only Linear and cause at0() and at1() to be undefined, while what should actually happen is that the elements of the linear are both set to zero. This can be fixed by adding "&& k > 0" to the condition. Testing fix.