mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[GH-ISSUE #353] Bug that allows to create empty function defs or equations #161
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PetitFrapo on GitHub (Dec 16, 2023).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/353
Describe the bug
It is possible to create an empty function or equation. It is not super bad, but it still is a bug.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I did this on complete accident, and when then after trying to reproduce what I did, I managed to remember my inputs. The bug doesn't lead to any breakage. With an empty function, trying to calculate for instance f(4) in the Calculation app will simply yield f(4), same for anything that involves said function. With an empty equation, if you add two more equations that would make for a linear system with 2 variables, Upsilon will show that the system is non-linear nonetheless.
Screenshots

Device (please complete the following information):
9ac62c0@PetitFrapo commented on GitHub (Dec 21, 2023):
Well, turns out it's even easier than I thought.
To do it you actually only need to get on the Add function/equation entry box (where you type the expression), click Backspace as if you were deleting nothing and then press Back (the rightmost button of the topmost line) and it works.