Skip to content

Commit 067fd5f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8b04030 commit 067fd5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎physics/diffraction.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def intensity_double_slit(path_diff: int = 0, intensity_max: str | float = "I0")
9494
r_val = (
9595
str(4 * intensity_max * (math.cos(path_diff / 2)) ** 2)
9696
if (type(intensity_max) is float or type(intensity_max) is int)
97-
else f"{4*(math.cos(path_diff/2)**2)} I0"
97+
else f"{4 * (math.cos(path_diff / 2) ** 2)} I0"
9898
)
9999
return r_val
100100

0 commit comments

Comments
 (0)