From cc0e8f6bf49a3318714deefcf02d10c5c9ca2606 Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Sun, 11 Sep 2016 09:01:03 -0400 Subject: [PATCH] Fix use of `invoke` --- src/JLD.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/JLD.jl b/src/JLD.jl index d9b0322..c9f052b 100644 --- a/src/JLD.jl +++ b/src/JLD.jl @@ -601,7 +601,8 @@ end # Dispatch correct method for Array{Union{}} @compat _write(parent::Union{JldFile, JldGroup}, path::String, data::Array{Union{}}, wsession::JldWriteSession; kargs...) = - invoke(_write, (Union{JldFile, JldGroup}, String, Array, JldWriteSession), parent, + # Keyword arguments do not currently work + invoke(_write, Tuple{Union{JldFile, JldGroup},String,Array,JldWriteSession}, parent, path, data, wsession; kargs...) # Convert an array to the format to be written to the HDF5 file, either