From ecb9eabdf7f90d00c47b4e7d97bda5f8d060cb5f Mon Sep 17 00:00:00 2001 From: Daniel Ingraham Date: Fri, 30 Jun 2023 16:51:09 -0400 Subject: [PATCH] Fix `@concrete`-related duplicated `F1APressureTimeHistory` constructor --- src/core.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core.jl b/src/core.jl index f745d1f5..35683cf3 100644 --- a/src/core.jl +++ b/src/core.jl @@ -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)