Skip to content

Commit

Permalink
Rel 0.3.2 - Fixed an issue in creating the json input files
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Jan 17, 2024
1 parent 4214106 commit 974ff4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StanIO"
uuid = "a1b0710c-ff81-4c57-8075-167cfc590dd3"
authors = ["Rob J Goedman <goedman@icloud.com>"]
version = "0.3.1"
version = "0.3.2"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion src/input/update_json_files.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function convert_matrices(d::Union{NamedTuple, Dict})
dct = typeof(d) <: NamedTuple ? dct = convert(Dict, d) : d
dct = typeof(d) <: NamedTuple ? dct = convert(Dict, d) : deepcopy(d)
for key in keys(dct)
if typeof(dct[key]) <: Array
dct[key] = permutedims(dct[key], length(size(dct[key])):-1:1)
Expand Down

0 comments on commit 974ff4d

Please sign in to comment.