@@ -86,7 +86,11 @@ function get_structure_vec(structure_vecs, name = nothing)
8686 elseif isempty (structure_vecs)
8787 throw (ArgumentError (" Please provide a structure vector." ))
8888 else
89- throw (ArgumentError (" Structure vectors $(collect (keys (structure_vecs))) are present. Please indicate which to use." ))
89+ throw (
90+ ArgumentError (
91+ " Structure vectors $(collect (keys (structure_vecs))) are present. Please indicate which to use." ,
92+ ),
93+ )
9094 end
9195 else
9296 if haskey (structure_vecs, name)
@@ -104,7 +108,11 @@ function get_structure_mat(structure_mats, name = nothing)
104108 elseif isempty (structure_mats)
105109 throw (ArgumentError (" Please provide a structure matrix." ))
106110 else
107- throw (ArgumentError (" Structure matrices $(collect (keys (structure_mats))) are present. Please indicate which to use." ))
111+ throw (
112+ ArgumentError (
113+ " Structure matrices $(collect (keys (structure_mats))) are present. Please indicate which to use." ,
114+ ),
115+ )
108116 end
109117 else
110118 if haskey (structure_mats, name)
@@ -268,14 +276,20 @@ function initialize_and_encode_with_schedule!(
268276 )
269277
270278 if apply_to == " in"
271- input_structure_mats =
272- Dict {Symbol, StructureMatrix} (name => encode_structure_matrix (processor, mat) for (name, mat) in input_structure_mats)
273- input_structure_vecs = Dict {Symbol, StructureVector} (name => encode_data (processor, vec) for (name, vec) in input_structure_vecs)
279+ input_structure_mats = Dict {Symbol, StructureMatrix} (
280+ name => encode_structure_matrix (processor, mat) for (name, mat) in input_structure_mats
281+ )
282+ input_structure_vecs = Dict {Symbol, StructureVector} (
283+ name => encode_data (processor, vec) for (name, vec) in input_structure_vecs
284+ )
274285 processed_io_pairs = PairedDataContainer (processed, get_outputs (processed_io_pairs))
275286 elseif apply_to == " out"
276- output_structure_mats =
277- Dict {Symbol, StructureMatrix} (name => encode_structure_matrix (processor, mat) for (name, mat) in output_structure_mats)
278- output_structure_vecs = Dict {Symbol, StructureVector} (name => encode_data (processor, vec) for (name, vec) in output_structure_vecs)
287+ output_structure_mats = Dict {Symbol, StructureMatrix} (
288+ name => encode_structure_matrix (processor, mat) for (name, mat) in output_structure_mats
289+ )
290+ output_structure_vecs = Dict {Symbol, StructureVector} (
291+ name => encode_data (processor, vec) for (name, vec) in output_structure_vecs
292+ )
279293 processed_io_pairs = PairedDataContainer (get_inputs (processed_io_pairs), processed)
280294 end
281295 end
0 commit comments