Skip to content

Commit c4744f7

Browse files
committed
fixing a lot of pycostyle warnings in calculus folder
1 parent 7404764 commit c4744f7

File tree

7 files changed

+210
-196
lines changed

7 files changed

+210
-196
lines changed

src/sage/calculus/all.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11

22
from .calculus import maxima as maxima_calculus
33
from .calculus import (laplace, inverse_laplace,
4-
limit, lim)
4+
limit, lim)
55

66
from .integration import numerical_integral, monte_carlo_integral
77
integral_numerical = numerical_integral
88

99
from .interpolation import spline, Spline
1010

1111
from .functional import (diff, derivative,
12-
expand,
13-
taylor, simplify)
12+
expand,
13+
taylor, simplify)
1414

15-
from .functions import (wronskian,jacobian)
15+
from .functions import (wronskian, jacobian)
1616

1717
from .ode import ode_solver, ode_system
1818

1919
from .desolvers import (desolve, desolve_laplace, desolve_system,
20-
eulers_method, eulers_method_2x2,
21-
eulers_method_2x2_plot, desolve_rk4, desolve_system_rk4,
22-
desolve_odeint, desolve_mintides, desolve_tides_mpfr)
20+
eulers_method, eulers_method_2x2,
21+
eulers_method_2x2_plot, desolve_rk4, desolve_system_rk4,
22+
desolve_odeint, desolve_mintides, desolve_tides_mpfr)
2323

2424
from .var import (var, function, clear_vars)
2525

2626
from .transforms.all import *
2727

2828
# We lazy_import the following modules since they import numpy which slows down sage startup
2929
from sage.misc.lazy_import import lazy_import
30-
lazy_import("sage.calculus.riemann",["Riemann_Map"])
31-
lazy_import("sage.calculus.interpolators",["polygon_spline","complex_cubic_spline"])
30+
lazy_import("sage.calculus.riemann", ["Riemann_Map"])
31+
lazy_import("sage.calculus.interpolators", ["polygon_spline", "complex_cubic_spline"])
3232

3333
from sage.modules.free_module_element import vector
3434
from sage.matrix.constructor import matrix
@@ -77,21 +77,21 @@ def symbolic_expression(x):
7777
7878
If ``x`` is a list or tuple, create a vector of symbolic expressions::
7979
80-
sage: v=symbolic_expression([x,1]); v
80+
sage: v = symbolic_expression([x,1]); v
8181
(x, 1)
8282
sage: v.base_ring()
8383
Symbolic Ring
84-
sage: v=symbolic_expression((x,1)); v
84+
sage: v = symbolic_expression((x,1)); v
8585
(x, 1)
8686
sage: v.base_ring()
8787
Symbolic Ring
88-
sage: v=symbolic_expression((3,1)); v
88+
sage: v = symbolic_expression((3,1)); v
8989
(3, 1)
9090
sage: v.base_ring()
9191
Symbolic Ring
9292
sage: E = EllipticCurve('15a'); E
9393
Elliptic Curve defined by y^2 + x*y + y = x^3 + x^2 - 10*x - 10 over Rational Field
94-
sage: v=symbolic_expression([E,E]); v
94+
sage: v = symbolic_expression([E,E]); v
9595
(x*y + y^2 + y == x^3 + x^2 - 10*x - 10, x*y + y^2 + y == x^3 + x^2 - 10*x - 10)
9696
sage: v.base_ring()
9797
Symbolic Ring
@@ -229,4 +229,5 @@ def symbolic_expression(x):
229229
return SR(result).function(*vars)
230230
return SR(x)
231231

232+
232233
from . import desolvers

src/sage/calculus/calculus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,7 @@ def dummy_pochhammer(*args):
20992099
from sage.functions.gamma import gamma
21002100
return gamma(x + y) / gamma(x)
21012101

2102+
21022103
#######################################################
21032104
#
21042105
# Helper functions for printing latex expression

0 commit comments

Comments
 (0)