From 1678e5c2e280fcfd34c8e72768fccd1117e84aa0 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 22 Sep 2023 15:02:43 +1200 Subject: [PATCH] remove `target` as alias for `tranformer` to close #856 --- src/composition/models/transformed_target_model.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/composition/models/transformed_target_model.jl b/src/composition/models/transformed_target_model.jl index 02fca5eb..11169b7d 100644 --- a/src/composition/models/transformed_target_model.jl +++ b/src/composition/models/transformed_target_model.jl @@ -140,8 +140,7 @@ tmodel2 = TransformedTargetModel(model, transformer=y->log.(y), inverse=z->exp.( function TransformedTargetModel( args...; model=nothing, - target=nothing, # to be deprecated - transformer=target, # then this should be `nothing` + transformer=nothing, inverse=nothing, cache=true, )