From 4766fdde20ca9502472afcb991bd05f984d3ad35 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:05:01 +0800 Subject: [PATCH] Fix deprecated syntax error (#2297) --- src/mcmc/gibbs.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mcmc/gibbs.jl b/src/mcmc/gibbs.jl index 815566437..736845b67 100644 --- a/src/mcmc/gibbs.jl +++ b/src/mcmc/gibbs.jl @@ -66,9 +66,7 @@ function Gibbs(alg1::TGIBBS, algrest::Vararg{TGIBBS,N}) where {N} return Gibbs{space,N + 1,typeof(algs),typeof(iterations)}(algs, iterations) end -function Gibbs( - arg1::Tuple{<:TGIBBS,Int}, argrest::Vararg{<:Tuple{<:TGIBBS,Int},N} -) where {N} +function Gibbs(arg1::Tuple{<:TGIBBS,Int}, argrest::Vararg{Tuple{<:TGIBBS,Int},N}) where {N} allargs = (arg1, argrest...) algs = map(first, allargs) iterations = map(last, allargs)