Skip to content

Commit f6a905e

Browse files
committed
Fix docstring
1 parent 0d4e3bd commit f6a905e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A body is constructed of one or more abstract wings. An abstract wing can be a W
2828
A Wing/ RamAirWing has one or more sections.
2929
```@docs
3030
Section
31-
Section(LE_point::Vector{Float64}, TE_point::Vector{Float64}, aero_model=nothing, aero_data=nothing)
31+
Section(LE_point, TE_point, aero_model)
3232
Wing
3333
Wing(n_panels::Int; spanwise_distribution::PanelDistribution=LINEAR,
3434
spanwise_direction::PosVector=MVec3([0.0, 1.0, 0.0]))

src/wing_geometry.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22
"""
3-
mutable struct Section
3+
@with_kw mutable struct Section
44
55
Represents a wing section with leading edge, trailing edge, and aerodynamic properties.
66
77
# Fields
88
- `LE_point::MVec3` = zeros(MVec3): Leading edge point coordinates
99
- `TE_point::MVec3` = zeros(MVec3): Trailing edge point coordinates
1010
- `aero_model`::AeroModel = INVISCID: [AeroModel](@ref)
11-
- `aero_data`::AeroData = nothing: See: [AeroData]
11+
- `aero_data`::AeroData = nothing: See: [AeroData](@ref)
1212
"""
1313
@with_kw mutable struct Section
1414
LE_point::MVec3 = zeros(MVec3)

0 commit comments

Comments
 (0)