Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix @concrete-related duplicated F1APressureTimeHistory constructor #7

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ function common_obs_time(apth, period, n, axis=1)
return t_common
end

@concrete struct F1APressureTimeHistory{IsEven} <: AcousticMetrics.AbstractPressureTimeHistory{IsEven}
p_m
p_d
dt
t0
struct F1APressureTimeHistory{IsEven,T_p_m,T_p_d,T_dt,T_t0} <: AcousticMetrics.AbstractPressureTimeHistory{IsEven}
p_m::T_p_m
p_d::T_p_d
dt::T_dt
t0::T_t0
function F1APressureTimeHistory{IsEven}(p_m, p_d, dt, t0) where {IsEven}
n_p_m = length(p_m)
n_p_d = length(p_d)
Expand Down
Loading