File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ julia> # (✓) Sort of fast, but only possible at runtime.
70
70
71
71
julia> # In addtion, we can only access varnames as they appear in the model!
72
72
vi[@varname(x)]
73
- ERROR: KeyError: key x not found
73
+ ERROR: getvalue: x was not found in the values provided
74
74
[...]
75
75
76
76
julia> vi[@varname(x[1:2])]
77
- ERROR: KeyError: key x[1:2] not found
77
+ ERROR: getvalue: x[1:2] was not found in the values provided
78
78
[...]
79
79
```
80
80
@@ -177,11 +177,11 @@ julia> svi_dict[@varname(m.a[1])]
177
177
1.0
178
178
179
179
julia> svi_dict[@varname(m.a[2])]
180
- ERROR: BoundsError: attempt to access 1-element Vector{Float64} at index [2]
180
+ ERROR: getvalue: m.a[2] was not found in the values provided
181
181
[...]
182
182
183
183
julia> svi_dict[@varname(m.b)]
184
- ERROR: type NamedTuple has no field b
184
+ ERROR: getvalue: m.b was not found in the values provided
185
185
[...]
186
186
```
187
187
"""
You can’t perform that action at this time.
0 commit comments