Skip to content

Commit a6265dd

Browse files
committed
format files
1 parent 1f29fa8 commit a6265dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/correlations.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
export correlation_3op_2t, correlation_3op_1t, correlation_2op_2t, correlation_2op_1t
22

33
function _check_correlation_time_list(tlist::AbstractVector)
4-
any(t -> t == 0, tlist) || throw(ArgumentError("The time list for calculating correlation function must contain the element `0`"))
5-
all(>=(0), tlist) || throw(ArgumentError("All the elements in the time list for calculating correlation function must be positive."))
4+
any(t -> t == 0, tlist) ||
5+
throw(ArgumentError("The time list for calculating correlation function must contain the element `0`"))
6+
all(>=(0), tlist) ||
7+
throw(ArgumentError("All the elements in the time list for calculating correlation function must be positive."))
68
return nothing
79
end
810

0 commit comments

Comments
 (0)