Skip to content

Commit 9d5529e

Browse files
refactor: remove old field get_ and has_ functions
1 parent 37ebc88 commit 9d5529e

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/systems/abstractsystem.jl

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,6 @@ end
833833

834834
for prop in [:eqs
835835
:tag
836-
:noiseeqs # TODO: remove
837836
:noise_eqs
838837
:iv
839838
:unknowns
@@ -844,48 +843,31 @@ for prop in [:eqs
844843
:name
845844
:description
846845
:var_to_name
847-
:ctrls
848846
:defaults
849847
:guesses
850848
:observed
851-
:tgrad
852-
:jac
853-
:ctrl_jac
854-
:Wfact
855-
:Wfact_t
856849
:systems
857-
:structure
858-
:op
859850
:constraints
860-
:constraintsystem
861-
:controls
862-
:loss
863851
:bcs
864852
:domain
865853
:ivs
866854
:dvs
867855
:connector_type
868-
:connections
869856
:preface
870-
:torn_matching
871857
:initializesystem
872858
:initialization_eqs
873859
:schedule
874860
:tearing_state
875861
:metadata
876862
:gui_metadata
877863
:is_initializesystem
878-
:discrete_subsystems
879864
:parameter_dependencies
880865
:assertions
881-
:solved_unknowns
882-
:split_idxs
883866
:ignored_connections
884867
:parent
885868
:is_dde
886869
:tstops
887870
:index_cache
888-
:is_scalar_noise
889871
:isscheduled
890872
:costs
891873
:consolidate]

src/utils.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,6 @@ function collect_scoped_vars!(unknowns, parameters, sys, iv; depth = 1, op = Dif
561561
collect_vars!(unknowns, parameters, eq, iv; depth, op)
562562
end
563563
end
564-
if has_op(sys)
565-
collect_vars!(unknowns, parameters, objective(sys), iv; depth, op)
566-
end
567564
end
568565

569566
"""

0 commit comments

Comments
 (0)