RKkit 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {rkkit-0.1.2 → rkkit-0.1.3}/PKG-INFO +2 -2
  2. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKformula.py +10 -1
  3. {rkkit-0.1.2 → rkkit-0.1.3}/pyproject.toml +2 -2
  4. {rkkit-0.1.2 → rkkit-0.1.3}/tests/test.py +2 -3
  5. {rkkit-0.1.2 → rkkit-0.1.3}/.gitignore +0 -0
  6. {rkkit-0.1.2 → rkkit-0.1.3}/AUTHORS +0 -0
  7. {rkkit-0.1.2 → rkkit-0.1.3}/LICENSE +0 -0
  8. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/AllProperties.ipynb +0 -0
  9. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/Example.ipynb +0 -0
  10. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/Gaussian.ipynb +0 -0
  11. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/GoodAndBad.ipynb +0 -0
  12. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/RadauByCollocation.ipynb +0 -0
  13. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/Tchebychev.ipynb +0 -0
  14. {rkkit-0.1.2 → rkkit-0.1.3}/Notebooks/Test.ipynb +0 -0
  15. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/AllProperties.py +0 -0
  16. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/Example.py +0 -0
  17. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/Gaussian.py +0 -0
  18. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/GoodAndBad.py +0 -0
  19. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/RadauByCollocation.py +0 -0
  20. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/Tchebychev.py +0 -0
  21. {rkkit-0.1.2 → rkkit-0.1.3}/PythonExamples/Test.py +0 -0
  22. {rkkit-0.1.2 → rkkit-0.1.3}/README.md +0 -0
  23. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/README.md +0 -0
  24. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKExceptions.py +0 -0
  25. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKPolutilities.py +0 -0
  26. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKRungeKutta.py +0 -0
  27. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKTrees.py +0 -0
  28. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKcolloc.py +0 -0
  29. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/RKplot.py +0 -0
  30. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/__init__.py +0 -0
  31. {rkkit-0.1.2 → rkkit-0.1.3}/RKkit/formulas.py +0 -0
  32. {rkkit-0.1.2 → rkkit-0.1.3}/TODO.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: RKkit
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Playing with Runge-Kutta methods
5
5
  Project-URL: Homepage, https://github.com/Thierry-Dumont/RKkit
6
6
  Project-URL: Issues, https://github.com/Thierry-Dumont/RKkit/issues
@@ -9,7 +9,7 @@ License-Expression: GPL-3.0-or-later
9
9
  License-File: LICENSE
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
- Requires-Python: >=3.13
12
+ Requires-Python: >=3.8
13
13
  Provides-Extra: passagemath
14
14
  Requires-Dist: passagemath-categories; extra == 'passagemath'
15
15
  Requires-Dist: passagemath-combinat; extra == 'passagemath'
@@ -214,7 +214,16 @@ class RKformula(SageObject):
214
214
  m2NI = impart(m2N)
215
215
  m2n = generic_power(m2NR,2)+generic_power(m2NI,2)
216
216
  m2d = RIaxeD*conj(RIaxeD)
217
- return m2n/generic_power(m2d,2)
217
+
218
+ # strange ! sometimes (actuelly with SDIRK3), the following
219
+ # instruction produces a FLINT exception.
220
+ # Excecuting again solves the problem.
221
+ # A bug in FLINT ?
222
+ try:
223
+ r=m2n/generic_power(m2d,2)
224
+ except:
225
+ r=m2n/generic_power(m2d,2)
226
+ return r
218
227
 
219
228
  @_persistance
220
229
  def is_module_of_stability_function_constant_on_Im(self):
@@ -3,13 +3,13 @@ requires = ["hatchling >= 1.26"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name='RKkit'
6
- version='0.1.2'
6
+ version='0.1.3'
7
7
  authors = [
8
8
  { name="Thierry Dumont", email="tdumont@math.cnrs.fr" },
9
9
  ]
10
10
  description="Playing with Runge-Kutta methods"
11
11
  readme = "README.md"
12
- requires-python = ">=3.13"
12
+ requires-python = ">=3.8"
13
13
  classifiers = [
14
14
  "Programming Language :: Python :: 3",
15
15
  "Operating System :: OS Independent",
@@ -8,17 +8,16 @@ class TestRKkit:
8
8
  """ Test computation of all known properties for a set of known
9
9
  classical methods """
10
10
  def testSetOfRKformulas(self):
11
- """ All known properties mus be computed with all methods.formulas."""
11
+ """ All known properties must be computed with all methods."""
12
12
  cformulas=[formulas.Radau5(),formulas.Gauss4(),formulas.Radau2a(),
13
13
  formulas.RK4(),
14
14
  formulas.SDIRK3(),formulas.SDIRK5(),formulas.Lobatto4()]
15
15
  Bads=[]
16
16
  #
17
17
  for f in cformulas:
18
- print(r)
19
18
  try:
20
-
21
19
  F=RKformula(f)
20
+ print(f.Title)
22
21
  F.compute_all_properties()
23
22
  except:
24
23
  Bads.append(f.Title)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes