Skip to content

Commit 6152dd1

Browse files
committed
reducing number of simplifications
1 parent 30e1db3 commit 6152dd1

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/identifiable_functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function _find_identifiable_functions(
125125
priority_variables = [parent_ring_change(p, bring) for p in ode.parameters],
126126
)
127127
else
128-
id_funcs_fracs = dennums_to_fractions(id_funcs)
128+
id_funcs_fracs = RationalFunctionFields.dennums_to_fractions(id_funcs)
129129
end
130130
id_funcs_fracs = [parent_ring_change(f, parent(ode)) for f in id_funcs_fracs]
131131
_runtime_logger[:id_total] = (time_ns() - runtime_start) / 1.0e9

src/known_ic.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,18 @@ function _find_identifiable_functions_kic(
4242
ode,
4343
prob_threshold = half_p,
4444
with_states = true,
45-
simplify = simplify,
45+
simplify = :absent,
4646
rational_interpolator = rational_interpolator,
4747
seed = seed,
4848
)
4949

50+
rff = RationalFunctionField(
51+
vcat(id_funcs_general, [f // one(parent(ode)) for f in known_ic]),
52+
)
53+
@debug generators(rff)
54+
5055
id_funcs = simplified_generating_set(
51-
RationalFunctionField(
52-
vcat(id_funcs_general, [f // one(parent(ode)) for f in known_ic]),
53-
),
56+
rff,
5457
prob_threshold = half_p,
5558
seed = seed,
5659
simplify = simplify,

0 commit comments

Comments
 (0)