From 008ccee7abe8fa76e8918ed314746ff660306228 Mon Sep 17 00:00:00 2001 From: Jaap de Jong Date: Mon, 13 Mar 2023 15:32:41 +0100 Subject: [PATCH] Fix compilation error in IOP Example-writer --- src/HerbData.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HerbData.jl b/src/HerbData.jl index 0145bc3..71b508a 100644 --- a/src/HerbData.jl +++ b/src/HerbData.jl @@ -70,7 +70,7 @@ end """ Writes IO examples and the corresponding programs to disk by serializing them into a file using HDF5 checking for and appending the `.xiop`. """ -function write_IOPexamples(filepath::AbstractString, examples::Vector{Tuple{Data.IOExample, Any}}) +function write_IOPexamples(filepath::AbstractString, examples::Vector{Tuple{IOExample, Any}}) serialize(filepath * (endswith(filepath, ".xiop") ? "" : ".xiop"), examples) end