Skip to content

Commit d02df55

Browse files
committed
Fixed formatting
1 parent ff8c89c commit d02df55

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

tests/test_parallel_sweep.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,13 @@ def test_timed_1d_correctness():
155155
time_data = TimeDependentData(steps=5, dt=0.1)
156156
mat_data.velocity = np.ones(1)
157157
angle_x = quadrature.angle_x
158-
half_bc = np.stack([
159-
sources.boundary_x[0, angle_x > 0, :], # left: incoming positive angles
160-
sources.boundary_x[1, angle_x < 0, :], # right: incoming negative angles
161-
], axis=0)
158+
half_bc = np.stack(
159+
[
160+
sources.boundary_x[0, angle_x > 0, :], # left: incoming positive angles
161+
sources.boundary_x[1, angle_x < 0, :], # right: incoming negative angles
162+
],
163+
axis=0,
164+
)
162165
sources = SourceData(
163166
initial_flux=np.zeros((100, 8, 1)),
164167
external=ants.external1d.time_dependence_constant(sources.external),

0 commit comments

Comments
 (0)