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 5d24b1b commit c88d4cdCopy full SHA for c88d4cd
1 file changed
maths/laplace_transformation.py
@@ -50,9 +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
- error_msg = f"s_value must be non-negative for this implementation, got {s_value}."
55
- raise ValueError(error_msg)
+ if s_value < 0:
+ error_msg = f"s_value must be non-negative for this implementation, got {s_value}."
+ raise ValueError(error_msg)
56
57
# Time vector corresponding to the function values
58
time_vector = np.linspace(
0 commit comments