Skip to content

Commit ab7fe03

Browse files
authored
Merge branch 'master' into pretty-printing
2 parents af30ed9 + 80eb4b3 commit ab7fe03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/variable.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ Returns the name of a variable.
5757
function name end
5858

5959
"""
60-
name_base(v::AbstractVariable)::Tuple{String, Vector{Int}}
60+
name_base_indices(v::AbstractVariable)
6161
62-
Returns the name of the variable and its indices.
62+
Returns the name of the variable (as a `String` or `Symbol`) and its indices
63+
as a `Vector{Int}` or tuple of `Int`s.
6364
"""
6465
function name_base_indices end
6566

0 commit comments

Comments
 (0)