-
Notifications
You must be signed in to change notification settings - Fork 116
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
Casts from float64, int64, to symbolic types are missing #601
Comments
Here's a very short MWE, which is similar to what I'm trying to do:
|
Please use
Sorry. This is a known issue, and we still haven't provided a simpler way. |
Actually, I still get this error:
ERROR: MethodError: Cannot `convert` an object of type Num to an object of
type SymbolicUtils.BasicSymbolic{Real}
the "typeof" the expression you recommended seems to be "Num"
…On Thu, May 23, 2024 at 1:57 AM Bowen S. Zhu ***@***.***> wrote:
Please use
Symbolics.wrap(SymbolicUtils.Term(identity, [1.0]))
Sorry. This is a known issue, and we still haven't provided a simpler
constructor.
- JuliaSymbolics/Symbolics.jl#853
<JuliaSymbolics/Symbolics.jl#853>
—
Reply to this email directly, view it on GitHub
<#601 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK37HIUM647OGYB6OU43QOLZDWAMBAVCNFSM6AAAAABIE4KZZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGI4TGMJZGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please remove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have any array of equations created by some other symbolic code, and it breaks when I try to substitute the value 1.0 for the rhs of an equation.
I just want a representation of the value 1.0, and I can't seem to create it in the obvious way (see below).
The text was updated successfully, but these errors were encountered: