Skip to content

Commit

Permalink
remove istrue from if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cvsvensson committed Feb 2, 2024
1 parent 36f37a3 commit a41f000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wcall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a41f000

Please sign in to comment.