From 13e905ddf6cfd212cda60c9daeac9e89e9115403 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 12 Jul 2024 20:16:13 +0100 Subject: [PATCH] revert change to scan --- EpiAware/src/EpiAwareUtils/scan.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpiAware/src/EpiAwareUtils/scan.jl b/EpiAware/src/EpiAwareUtils/scan.jl index 2e3d46fac..fcf3396cb 100644 --- a/EpiAware/src/EpiAwareUtils/scan.jl +++ b/EpiAware/src/EpiAwareUtils/scan.jl @@ -27,7 +27,7 @@ Apply `f` to each element of `xs` and accumulate the results. ```jldoctest using EpiAware -struct Adder end <: EpiAwareBase.AbstractModel +struct Adder <: EpiAwareBase.AbstractModel end function (a::Adder)(carry, x) carry + x, carry + x end