https://bugs.kde.org/show_bug.cgi?id=393487
--- Comment #1 from Aleix Pol <aleix...@kde.org> --- Thank you very much for bringing up this issue The code that controls this is the loop in listcommands.cpp:73. Having a way to reproduce this would be interesting, it definitely looks like double being fussy. Maybe you can try applying this and tell me if it works? Another thing you could do is providing a docker image where I can test this. diff --git a/analitza/commands/listcommands.cpp b/analitza/commands/listcommands.cpp index b77f49a9..2885169a 100644 --- a/analitza/commands/listcommands.cpp +++ b/analitza/commands/listcommands.cpp @@ -69,8 +69,9 @@ Expression RangeCommand::operator()(const QList< Analitza::Expression >& args) Analitza::List *seq = new Analitza::List; - for (double x = a; x <= b; x += h) + for (double x = a; x < b || qFuzzyCompare(x, b); x += h) { seq->appendBranch(new Analitza::Cn(x)); + } ret.setTree(seq); -- You are receiving this mail because: You are watching all bug changes.