Skip to content

Commit 21ebe19

Browse files
committed
Fix tests
1 parent b212b0b commit 21ebe19

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/obj_geometry.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,11 @@ function ObjWing(
579579
panel_props = PanelProperties{n_panels}()
580580
cache = [PreallocationTools.LazyBufferCache()]
581581

582-
wing = Wing(n_panels, Int16(n_unrefined_sections), spanwise_distribution, panel_props, MVec3(spanwise_direction),
582+
wing = Wing(Int16(n_panels), Int16(n_unrefined_sections), spanwise_distribution, panel_props, MVec3(spanwise_direction),
583583
sections, Section[], remove_nan, use_prior_polar, # refined_sections empty
584584
Int16[], # refined_panel_mapping empty
585585
Section[], zeros(n_panels), zeros(n_panels), # non_deformed, theta, delta
586-
mass, gamma_tip, inertia_tensor, T_cad_body, R_cad_body, radius,
586+
mass, gamma_tip, inertia_tensor, MVec3(T_cad_body), MMat3(R_cad_body), radius,
587587
le_interp, te_interp, area_interp, cache)
588588

589589
# Auto-refine for backward compatibility

test/bench.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,12 @@ using LinearAlgebra
188188
$gamma,
189189
$reference_point,
190190
$density,
191-
VSM,
192191
1e-20,
193192
0.0,
194193
$alpha_array,
195194
$v_a_array,
196195
$chord_array,
197196
$x_airf_array,
198-
$y_airf_array,
199197
$z_airf_array,
200198
$va_array,
201199
$va_norm_array,

0 commit comments

Comments
 (0)