https://bugs.kde.org/show_bug.cgi?id=426025

--- Comment #7 from Dave Gilbert <gilbertd+...@treblig.org> ---
I think I kind of understand what's going on, but not 100% and hmm.

void View::drawImplicit(Function *function, QPainter *painter)
{
....
        QList<QPointF> singular;
...
        for (const QPointF &point : qAsConst(singular)) {
...
            for (double t : qAsConst(roots)) {
                double x = point.x() + epsilon * lcos(t);
                double y = point.y() + epsilon * lsin(t);
                drawImplicitInSquare(plot, painter, x, y, {}, &singular);
            }

so, 'singular' - which I think is a list being walked in the outer for, gets
modified by 'drawImplicitInSquare' in a corner case - which I think is the 
fact tan is not-contiguous.

I think turning that loop into a QMutableListIterator might work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to