Skip to content

Commit

Permalink
AbstractFloat in commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerteichgraeber committed Apr 29, 2019
1 parent d83c0a3 commit 9d834ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/optvariable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ given axes.
julia> array = OptVariable{Float}(undef, [:a, :b], 1:2);
julia> fill!(array, 1.0)
2-dimensional OptVariable{Float,2,...} with index sets:
2-dimensional OptVariable{AbstractFloat,2,...} with index sets:
Dimension 1, Symbol[:a, :b]
Dimension 2, 1:2
And data, a 2×2 Array{Float,2}:
And data, a 2×2 Array{AbstractFloat,2}:
1.0 1.0
1.0 1.0
Expand All @@ -94,10 +94,10 @@ julia> array[:a, 2]
5.0
julia> array
2-dimensional OptVariable{Float,2,...} with index sets:
2-dimensional OptVariable{AbstractFloat,2,...} with index sets:
Dimension 1, Symbol[:a, :b]
Dimension 2, 1:2
And data, a 2×2 Array{Float,2}:
And data, a 2×2 Array{AbstractFloat,2}:
1.0 5.0
1.0 1.0
```
Expand Down

0 comments on commit 9d834ae

Please sign in to comment.