actions/checkout@v2 (#1643)

* actions/checkout@v2

https://github.com/actions/checkout/releases

* fixup! Format Python code with psf/black push
This commit is contained in:
Christian Clauss
2019-12-26 12:50:12 +01:00
committed by John Law
parent 1b3985837f
commit 34c808b375
7 changed files with 128 additions and 117 deletions

View File

@ -8,7 +8,7 @@ from math import * # noqa: F401, F403
from sympy import diff
def newton_raphson(func: str, a: int, precision: int=10 ** -10) -> float:
def newton_raphson(func: str, a: int, precision: int = 10 ** -10) -> float:
""" Finds root from the point 'a' onwards by Newton-Raphson method
>>> newton_raphson("sin(x)", 2)
3.1415926536808043