Skip to content

Commit f6a83db

Browse files
committed
Fix tests
1 parent f6bac75 commit f6a83db

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/channels.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,7 @@ function Base.show(io::IO, mime::MIME"text/plain", g::CoulombCoupling)
121121
write(io, "CoulombCoupling: ")
122122
show(io, mime, g.coupling)
123123
end
124+
125+
# * Exports
126+
127+
export IonizationChannel

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ end
8989
dc = StrongFieldApproximation.DipoleCoupling(0.1, F)
9090
couplings=Matrix{StrongFieldApproximation.AbstractCoupling}[reshape([dc],1,1),reshape([cc],1,1)]
9191

92-
system = StrongFieldApproximation.System(Iₚ, F, ndt, couplings=couplings)
92+
ar = (F, ndt)
93+
channel = IonizationChannel(Iₚ, ar...)
94+
system = StrongFieldApproximation.System(repeat([channel], 10), nothing, couplings, ar...)
9395

9496
for (path, expected_momenta, expected_unique, expected_indeterminate) in [
9597
([(1,0)], [1], [(1,2)], []),

0 commit comments

Comments
 (0)