Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill committed Apr 1, 2024
1 parent 3566be3 commit c5fba46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tracer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ end
# When this happens, we create a new empty tracer with no input connectivity.
Tracer(::Number) = tracer()
Tracer(t::Tracer) = t
# We therefore exclusively use the lower-case `trace` for convenience constructors
# We therefore exclusively use the lower-case `tracer` for convenience constructors

"""
trace(index)
trace(indices)
tracer(index)
tracer(indices)
Convenience constructor for [`Trace`](@ref) from input indices.
Convenience constructor for [`Tracer`](@ref) from input indices.
"""
tracer() = Tracer(Set{UInt64}())
tracer(a::Tracer, b::Tracer) = Tracer(union(a.inputs, b.inputs))
Expand Down

0 comments on commit c5fba46

Please sign in to comment.