Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Static evaluator doesn't re-evaluate unless the input width is larger than what it previously was #345

Open
piotrsiupa opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@piotrsiupa
Copy link

Discord Thread

https://discord.com/channels/828292123936948244/1324097636583870575

What happened?

  1. Create a Static Value with value 10.
  2. Create a Static Evaluator (its output defaults to 8). Set its expression to A - 1.
  3. Connect the output of the Static Value to the top input of the Evaluator. (It's important to do this only after setting the expression.) The Evaluator now computes 9, as expected. (First screenshot)
  4. Change the Static Value to 9. The Evaluator remains at 9 instead of updating to 8. This is wrong. (Second screenshot)
  5. Change the Static Value to 11. The Evaluator updates to 10. (Third screenshot)
  6. Change the Static Value to 10. The Evaluator remains at 10 instead of updating to 9. (Fourth screenshot)

Basically the Evaluator does not seem to recompute if its input is smaller than the input it previously received.

It also does not re-evaluate if you change its expression and don't increase the input width. So in the above steps, if you connected the Static Evaluator to the Static Value before you put it in its expression, it would default to the input width of 10 and continue to output that even after changing the expression (fifth screenshot) until you also increase the Static Value to something higher.
image
image
image
image
image

Version

0.1331 Beta

What OSes are you seeing the problem on?

Linux

Relevant debug.log output, search next to the exectuable

No response

@piotrsiupa piotrsiupa added the bug Something isn't working label Jan 8, 2025
@github-project-automation github-project-automation bot moved this to Needs triage in Issues & Suggestions Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant