We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06166fb commit 5d24b1bCopy full SHA for 5d24b1b
1 file changed
maths/laplace_transformation.py
@@ -50,10 +50,9 @@ def laplace_transform(
50
raise ValueError("delta_t must be a positive value.")
51
if function_values.size == 0:
52
raise ValueError("function_values array cannot be empty.")
53
- if s_value < 0:
54
- raise ValueError(
55
- f"s_value must be non-negative for this implementation, got{s_value}."
56
- )
+ if s_value < 0:
+ error_msg = f"s_value must be non-negative for this implementation, got {s_value}."
+ raise ValueError(error_msg)
57
58
# Time vector corresponding to the function values
59
time_vector = np.linspace(
0 commit comments