forked from zenna/DReal.jl
-
Notifications
You must be signed in to change notification settings - Fork 2
robustness issues #3
Copy link
Copy link
Open
Labels
Description
Dear @zenna,
While testing the Julia interface, I've found a robustness problem. When I declare a variable twice, it terminates the whole Julia shell:
julia> x = Var(Int,"x")
opensmt_mk_int_var: x = [-9223372036854775808, 9223372036854775807]
# OpenSMTContext::Declaring function x of sort () Int
# Error: symbol already declared x (triggered at /usr0/home/soonhok/work/dreal3/src/opensmt/egraph/EgraphStore.C, 653)I think it should return the previously declared variable, possibly update the domain with new information. Do you agree? If so, I can make this change.
Do you see any other robustness issues? Please feel free to enumerate them here, I'll fix them later.
Reactions are currently unavailable