physpyx 3.3.0__tar.gz → 3.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: physpyx
3
- Version: 3.3.0
3
+ Version: 3.3.1
4
4
  Summary: Provides a way to use python code in LaTeX
5
5
  Author: Jérôme Dufour
6
6
  Author-email: Jérôme Dufour <jerome.dufour@eduvaud.ch>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "physpyx"
3
- version = "3.3.0"
3
+ version = "3.3.1"
4
4
  description = "Provides a way to use python code in LaTeX"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "physpyx"
3
- version = "3.3.0"
3
+ version = "3.3.1"
4
4
  description = "Provides a way to use python code in LaTeX"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -92,7 +92,7 @@ class Orbit:
92
92
  return self.a * ellipkinc(phi, m) - arc_length
93
93
 
94
94
  for i in range(n + 1):
95
- phi = np.pi / 2 - newton(func, x0=np.pi / 2 * i / n, args=(P * i / n))
95
+ phi = np.pi / 2 - newton(func, x0=np.pi / 2 * i / n, args=(P * i / n,))
96
96
  r = self.b / np.sqrt(1 - (self.e * np.cos(phi)) ** 2)
97
97
  yield np.array([-self.F + r * np.cos(phi), r * np.sin(phi)])
98
98
 
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