Skip to content

Commit

Permalink
update formatter check to 1.0.60 to be consistent with Trixi.jl (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmontoya authored Nov 8, 2024
1 parent 3b6f7c1 commit 30bdb23
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# TODO: Change the call below to
# format(".")
run: |
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter", version="1.0.45"))'
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter", version="1.0.60"))'
julia -e 'using JuliaFormatter; format(".")'
- name: Format check
run: |
Expand Down
28 changes: 14 additions & 14 deletions test/test_2d_moist_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ EXAMPLES_DIR = pkgdir(TrixiAtmo, "examples") # TODO - Do we need a subdirectory
0.0006660124630171347,
0.008969786054960861,
0.0,
0.0,
0.0
],
linf=[
1.0312042909910168e-5,
0.00020625488871672815,
0.006392107590872236,
0.07612038028310053,
0.0,
0.0,
0.0
],
polydeg=3,
tspan=(0.0, 0.1))
Expand All @@ -46,15 +46,15 @@ end
7.938812668709457,
4500.747616411578,
0.00015592413050814787,
0.00014163475049532796,
0.00014163475049532796
],
linf=[
0.1427479052298466,
8.564879578662357,
91.56822550162855,
49528.383866247605,
0.0019364397602254623,
0.0013259689889851285,
0.0013259689889851285
],
polydeg=3,
cells_per_dimension=(16, 16),
Expand All @@ -77,15 +77,15 @@ end
0.0006974588377288118,
1.715668353329522,
8.831269143134121e-7,
1.025579538944668e-6,
1.025579538944668e-6
],
linf=[
8.055695643149896e-5,
1.1985203677080201e-6,
0.005897639251024437,
19.24776030163048,
1.0043133039065386e-5,
1.1439046776775402e-5,
1.1439046776775402e-5
],
polydeg=3,
cells_per_dimension=(16, 8),
Expand All @@ -109,15 +109,15 @@ end
0.01172830034500581,
9.898560584459009,
0.0,
0.0,
0.0
],
linf=[
0.0017602202683439927,
0.14941973735192882,
0.5945327351674782,
489.89171406268724,
0.0,
0.0,
0.0
],
polydeg=3,
cells_per_dimension=(10, 8),
Expand All @@ -140,15 +140,15 @@ end
2.609465609739115e-5,
6.323484379066432e-5,
0.0,
0.0,
0.0
],
linf=[
7.549984224430872e-5,
0.00010065352517929504,
0.00015964938767742964,
0.0005425860570698049,
0.0,
0.0,
0.0
],
polydeg=3,
cells_per_dimension=(10, 8),
Expand All @@ -171,15 +171,15 @@ end
0.015104690877128945,
0.5242098451814421,
5.474006801215573e-10,
1.1103883907226752e-10,
1.1103883907226752e-10
],
linf=[
0.00013219484616722177,
0.10771224937484702,
0.03789645369775574,
3.90888311638264,
3.938382289041286e-9,
6.892033377287209e-10,
6.892033377287209e-10
],
polydeg=3,
cells_per_dimension=(10, 8),
Expand All @@ -203,15 +203,15 @@ end
0.07460345535073129,
5.943049264963717,
4.471792794168725e-9,
7.10320253652373e-10,
7.10320253652373e-10
],
linf=[
0.0007084183215528839,
0.5047962996690205,
0.3697160082709827,
27.843155286573165,
2.1168438904322837e-8,
3.691699932047233e-9,
3.691699932047233e-9
],
polydeg=3,
cells_per_dimension=(10, 8),
Expand Down
8 changes: 4 additions & 4 deletions test/test_spherical_advection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ EXAMPLES_DIR = pkgdir(TrixiAtmo, "examples")
8.23414117e-03,
1.84210648e-03,
0.00000000e+00,
6.44302430e-02,
6.44302430e-02
],
linf=[
9.48950488e-02,
9.64811952e-02,
1.37453400e-02,
0.00000000e+00,
4.09322999e-01,
4.09322999e-01
], element_local_mapping=false)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand All @@ -42,14 +42,14 @@ end
8.74316738e-03,
1.99380928e-03,
0.00000000e+00,
6.45266612e-02,
6.45266612e-02
],
linf=[
1.01363241e-01,
1.03082705e-01,
1.41424723e-02,
0.00000000e+00,
4.10471741e-01,
4.10471741e-01
], element_local_mapping=true)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down

0 comments on commit 30bdb23

Please sign in to comment.