Skip to content

Commit e5dc0ad

Browse files
authored
Merge pull request #59 from bmharsha/Harsha-matrix-fix
Fixes Matrix parse issue
2 parents c62deef + 2cbb6b2 commit e5dc0ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/APIResponder.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ end
9090

9191
"""call the actual API method, and send the return value back as response"""
9292
function call_api(api::APISpec, conn::APIResponder, args, data::Dict{Symbol,Any})
93-
try
94-
if !applicable(api.fn, args...)
93+
try
94+
if !applicable(api.fn, args...) || ((api.fn === (*) || api.fn === (/) || api.fn === (\)) && all(x->isa(x,Vector), args))
9595
narrow_args!(args)
9696
end
9797
result = dynamic_invoke(conn, api.fn, args...; data...)

0 commit comments

Comments
 (0)