Skip to content

Commit 664791a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c88d4cd commit 664791a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

maths/laplace_transformation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ def laplace_transform(
5151
if function_values.size == 0:
5252
raise ValueError("function_values array cannot be empty.")
5353
if s_value < 0:
54-
error_msg = f"s_value must be non-negative for this implementation, got {s_value}."
54+
error_msg = (
55+
f"s_value must be non-negative for this implementation, got {s_value}."
56+
)
5557
raise ValueError(error_msg)
5658

5759
# Time vector corresponding to the function values

0 commit comments

Comments
 (0)