We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceea7d6 commit 611d177Copy full SHA for 611d177
1 file changed
test/plotting/test_plotting.jl
@@ -30,16 +30,16 @@ safe_rm(path) = begin
30
nothing
31
end
32
33
-if !@isdefined ram_wing
+let
34
body_path = joinpath(tempdir(), "ram_air_kite_body.obj")
35
foil_path = joinpath(tempdir(), "ram_air_kite_foil.dat")
36
body_src = joinpath(_ram_data_dir, "ram_air_kite_body.obj")
37
foil_src = joinpath(_ram_data_dir, "ram_air_kite_foil.dat")
38
cp(body_src, body_path; force=true)
39
cp(foil_src, foil_path; force=true)
40
- ram_wing = ObjWing(body_path, foil_path;
41
- alpha_range=deg2rad.(-1:1),
42
- delta_range=deg2rad.(-1:1))
+ global ram_wing = ObjWing(body_path, foil_path;
+ alpha_range=deg2rad.(-1:1),
+ delta_range=deg2rad.(-1:1))
43
44
45
function create_body_aero()
0 commit comments