- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 233
 
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Not sure why, but in this context, SDEProblems gives a warning, but not ODEProblems. Also, not too long ago neither of these cases generated warnings. Not sure what is going on.
using Catalyst
# Prepare model.
rn = @reaction_network begin
    (k1,k2), X1 <--> X2
end
u0 = [:X1 => 1.0, :X2 => 2.0]
tspan = (0.0, 1.0)
ps = [:k1 => 3.0, :k2 => 4.0]
ODEProblem(rn, u0, tspan, ps; remove_conserved = true, remove_conserved_warn = false) # No warning.
SDEProblem(rn, u0, tspan, ps; remove_conserved = true, remove_conserved_warn = false) # Gives a `Warning: Initialization system is overdetermined.`Full warning:
┌ Warning: Initialization system is overdetermined. 1 equations for 0 unknowns. Initialization will default to using least squares. `SCCNonlinearProblem` can only be used for initialization of fully determined systems and hence will not be used here. To suppress this warning pass warn_initialize_determined = false. To make this warning into an error, pass fully_determined = true
└ @ ModelingToolkit ~/.julia/packages/ModelingToolkit/iQ7So/src/systems/diffeqs/abstractodesystem.jl:1349
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working