Skip to content

Conversation

@ronensc
Copy link
Collaborator

@ronensc ronensc commented Mar 7, 2022

I noticed that when the expression evaluated in "add_if" contains a scientific notation value like 1.2345e-67, there's an error like:

Cannot transition token types from NUMERIC [1.2345] to VARIABLE [e]

The solution I found is to pass the value as a parameter to Evaluate()

ronensc added 2 commits March 7, 2022 15:37
There error returned is:
"Cannot transition token types from NUMERIC [1.2345] to VARIABLE [e]"
@ronensc ronensc requested a review from eranra March 7, 2022 13:47
@ronensc ronensc self-assigned this Mar 7, 2022
Copy link
Collaborator

@eranra eranra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-)

@ronensc ronensc merged commit e90ba0a into netobserv:main Mar 7, 2022
@ronensc ronensc deleted the fix-addif-bug branch March 7, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants