From d1bbb4bcbc14e023b1a41d5bdcc2aa5fc3dc7052 Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Wed, 17 Apr 2024 15:54:04 +0100 Subject: [PATCH] fix optic parsing function --- Project.toml | 2 +- src/varname.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index e929d94..b32ad51 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" keywords = ["probablistic programming"] license = "MIT" desc = "Common interfaces for probabilistic programming" -version = "0.8.3" +version = "0.8.4" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/src/varname.jl b/src/varname.jl index 05d20b6..1ffa542 100644 --- a/src/varname.jl +++ b/src/varname.jl @@ -665,7 +665,7 @@ end function _parse_obj_optic(ex) obj, optics = _parse_obj_optics(ex) - optic = Expr(:call, :(Accessors.opticcompose), optics...) + optic = Expr(:call, Accessors.opticcompose, optics...) obj, optic end