You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> model = Sem(
specification = partable,
data = data
)
ERROR: MethodError: no method matching /(::String, ::Int64)
The function `/` exists, but no method is defined for this combination of argument types.
I realized this happens because I accidentally modeled a variable that was type String. I think we should have a check to catch this and give a proper error message.
Hi! I'd like to work on this issue. I'm interested in improving the error handling for this case and adding a clearer message when non-numeric variables are passed to Sem.
Activity
niro4-1 commentedon Jun 7, 2026
Consider adding documentation to clarify the cause and resolution for the type mismatch error mentioned in this issue.
siya12425 commentedon Jun 10, 2026
Hi! I'd like to work on this issue. I'm interested in improving the error handling for this case and adding a clearer message when non-numeric variables are passed to
Sem.