Skip to content

Commit

Permalink
Merge pull request #7 from dingraha/f1a_time_history_duplicate_constr…
Browse files Browse the repository at this point in the history
…uctor

Fix `@concrete`-related duplicated `F1APressureTimeHistory` constructor
  • Loading branch information
dingraha authored Jul 3, 2023
2 parents f871a2a + ecb9eab commit 5de02df
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 5de02df

Please sign in to comment.