From a41f0005b67588cc840ab4f60d09278abf4de27f Mon Sep 17 00:00:00 2001 From: Viktor Svensson Date: Fri, 2 Feb 2024 13:49:23 +0100 Subject: [PATCH] remove istrue from if statement --- src/wcall.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcall.jl b/src/wcall.jl index f4cce18..2c28433 100644 --- a/src/wcall.jl +++ b/src/wcall.jl @@ -29,7 +29,7 @@ function wcall(head::AbstractString, args...; returnJulia=true,kwargs...) end wcall(head::AbstractString, args::Vararg{Mtypes}; returnJulia=true, kwargs...) = begin mathematica_result = weval(MathLink.WSymbol(head)(args...; kwargs...)) - if istrue(returnJulia) + if returnJulia return mathematica_to_expr(mathematica_result) else return mathematica_result