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

[octave] Issue in 'validvarname' function #2

Open
carissableker opened this issue Apr 8, 2021 · 0 comments
Open

[octave] Issue in 'validvarname' function #2

carissableker opened this issue Apr 8, 2021 · 0 comments

Comments

@carissableker
Copy link

Code:

model = ExpressionsToOdefy({'a = a || b','b = a && b'})

Error:

error: zeros: invalid class name
error: called from
    unique at line 113 column 11
    validvarname at line 25 column 14
    ExpressionsToOdefy at line 46 column 18

Line with the issue:

illegalChars = unique(varname(regexp(varname,'[^A-Za-z_0-9]')));

Issue is circumvented by commenting out calls to 'validvarname' in 'ExpressionsToOdefy.m'

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

No branches or pull requests

1 participant