Skip to content

Commit 9c34ea2

Browse files
authored
Merge pull request #449 from SciML/rff_bye_bye
Removing RFF functionality and using the dedicated package
2 parents c2262af + 333f4db commit 9c34ea2

22 files changed

+33
-2931
lines changed

Project.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ParamPunPam = "3e851597-e36f-45a9-af0a-b7781937992f"
1818
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
1919
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
2020
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
21+
RationalFunctionFields = "73480bc8-48a2-41cc-880f-208b490ccf65"
2122
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
2223

2324
[weakdeps]
@@ -40,16 +41,17 @@ IterTools = "1"
4041
LinearAlgebra = "1.10, 1.11"
4142
Logging = "1.10, 1.11"
4243
MacroTools = "0.5"
43-
ModelingToolkit = "10"
44+
ModelingToolkit = "10.22"
4445
Nemo = "0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52"
4546
ParamPunPam = "0.5"
4647
Pkg = "1.10, 1.11"
4748
PrecompileTools = "1.2"
4849
Primes = "0.5"
4950
Random = "1.10, 1.11"
51+
RationalFunctionFields = "0.2.1"
5052
SpecialFunctions = "2"
51-
SymbolicUtils = "3.27"
52-
Symbolics = "6.40"
53+
SymbolicUtils = "3.32"
54+
Symbolics = "6.55"
5355
Test = "1.10, 1.11"
5456
TestSetExtensions = "2"
5557
TimerOutputs = "0.5.10"

docs/pages.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ pages = [
1010
"Basics" => Any["input/input.md", "identifiability/identifiability.md"],
1111
"Library" => Any[
1212
"Local Identifiability Tools" => "utils/local_identifiability.md",
13-
"Global Identifiability Tools" => "utils/global_identifiability.md",
1413
"Elimination" => "utils/elimination.md",
1514
"ODE Tools" => "utils/ode.md",
1615
"Power Series Tools" => "utils/power_series_utils.md",

docs/src/utils/global_identifiability.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/ODE.jl

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -211,30 +211,6 @@ function power_series_solution(
211211
end
212212
#------------------------------------------------------------------------------
213213

214-
"""
215-
_reduce_mod_p(f, p)
216-
217-
Reduces a polynomial/rational function over Q modulo p
218-
"""
219-
function _reduce_mod_p(poly::QQMPolyRingElem, p::Int)
220-
den = denominator(poly)
221-
num = change_base_ring(Nemo.ZZ, den * poly)
222-
if Nemo.Native.GF(p)(den) == 0
223-
throw(Base.ArgumentError("Prime $p divides the denominator of $poly"))
224-
end
225-
return change_base_ring(Nemo.Native.GF(p), num) * (1 // Nemo.Native.GF(p)(den))
226-
end
227-
228-
function _reduce_mod_p(rat::Generic.FracFieldElem{QQMPolyRingElem}, p::Int)
229-
num, den = map(poly -> _reduce_mod_p(poly, p), [numerator(rat), denominator(rat)])
230-
if den == 0
231-
throw(Base.ArgumentError("Prime $p divides the denominator of $rat"))
232-
end
233-
return num // den
234-
end
235-
236-
#--------------------------------------
237-
238214
"""
239215
reduce_ode_mod_p(ode, p)
240216

0 commit comments

Comments
 (0)