https://bugs.kde.org/show_bug.cgi?id=420671
Bug ID: 420671 Summary: KmPlot recognizes no syntax error, but draws another function, when the expression ends with a binary operator Product: kmplot Version: 1.3.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: cf...@kde.org Reporter: david.hu...@mailbox.org Target Milestone: --- SUMMARY When you draw a cartesian plot with a function which ends with a binary operator, KmPlot recognizes no syntax error, but draws a different function instead. Example: “f(x) = x” works fine, but “g(x) = x +” draws another function. See screenshot. https://imgur.com/jQmhl26.png STEPS TO REPRODUCE 1. Enter “f(x) = x” and “g(x) = x +” OBSERVED RESULT Two different graphs. Every time you try this, you get another second graph; appears to be random. EXPECTED RESULT One graph and one syntax error SOFTWARE/OS VERSIONS Linux/KDE Plasma: Xfce desktop, don’t know how to look up version, sorry. KDE Frameworks Version: 5.68 Qt Version: 5.14.1 ADDITIONAL INFORMATION I consider this as a bug. + as unary operator has no common meaning known to me, and in the KmPlot function reference it is defined as binary operator. If there is a purpose, I am curious which. This appears to affect all binary operators, not just +. -- You are receiving this mail because: You are watching all bug changes.