Skip to content

Commit

Permalink
Also test tuple in 1-d edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Aug 15, 2023
1 parent 8f3104e commit 897f4ac
Show file tree
Hide file tree
Showing 4 changed files with 1,019 additions and 1,009 deletions.
2 changes: 2 additions & 0 deletions test/data/edges/oned.stan
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ generated quantities {
{{base * 3, base * 4, base * 5}}};

array[1,1,1] real dummy = {{{base*10}}};

array[1] tuple(real, array[1] real) dummy_tuple = {(base*11, {base*12})};
}
8 changes: 4 additions & 4 deletions test/data/edges/oned_opt.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# stan_version_minor = 32
# stan_version_patch = 2
# model = oned_model
# start_datetime = 2023-08-14 18:58:51 UTC
# start_datetime = 2023-08-15 16:13:17 UTC
# method = optimize
# optimize
# algorithm = lbfgs (Default)
Expand All @@ -22,7 +22,7 @@
# file = (Default)
# init = 2 (Default)
# random
# seed = 4237548930 (Default)
# seed = 19047432 (Default)
# output
# file = output.csv (Default)
# diagnostic_file = (Default)
Expand All @@ -32,5 +32,5 @@
# num_threads = 1 (Default)
# stanc_version = %%NAME%%3 %%VERSION%%
# stancflags =
lp__,base,A.1.1.1,A.2.1.1,A.1.1.2,A.2.1.2,A.1.1.3,A.2.1.3,dummy.1.1.1
0,-0.6597839217,-0.6597839217,-1.979351765,-0.6597839217,-2.639135687,-1.319567843,-3.298919609,-6.597839217
lp__,base,A.1.1.1,A.2.1.1,A.1.1.2,A.2.1.2,A.1.1.3,A.2.1.3,dummy.1.1.1,dummy_tuple.1:1,dummy_tuple.1:2.1
0,1.206475432,1.206475432,3.619426295,1.206475432,4.825901726,2.412950863,6.032377158,12.06475432,13.27122975,14.47770518
Loading

0 comments on commit 897f4ac

Please sign in to comment.