Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 17, 2024
1 parent be187f9 commit e2d7ad0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_STC.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
npoints=(60, 200),
profile=profile_gaussian,
)
env_combined = (laser_2d_combined.grid.get_temporal_field())
env_gaussian = (laser_2d_gaussian.grid.get_temporal_field())
err_real = np.average(np.array(env_combined.real)-np.array(env_gaussian.real))
env_combined = laser_2d_combined.grid.get_temporal_field()
env_gaussian = laser_2d_gaussian.grid.get_temporal_field()
err_real = np.average(np.array(env_combined.real) - np.array(env_gaussian.real))

Phi2_3d, phi2_3d = get_phi2(laser_3d.dim, laser_3d.grid)

Expand Down

0 comments on commit e2d7ad0

Please sign in to comment.