Skip to content

Commit

Permalink
Undo bad formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlevy committed Oct 17, 2024
1 parent c5f14a0 commit 5838861
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/IndexMaps/complexindexmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ whilst imaginary valued digits should have the "Imag" tag. The complex_continuou
constructor will do this by default
"""
function ComplexIndexMap(
s::IndsNetwork;
s::IndsNetwork,
real_dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(s),
imag_dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(s),
) where {V}
Expand Down
2 changes: 1 addition & 1 deletion src/IndexMaps/realindexmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function rem_index(imap::RealIndexMap, ind::Index)
end

function RealIndexMap(
s::IndsNetwork; dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(s)
s::IndsNetwork, dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(s)
) where {V}
dimension_indices = Vector{Index}[
!isempty(vertices) ? inds(s, vertices) : Index[] for vertices in dimension_vertices
Expand Down
8 changes: 4 additions & 4 deletions src/digit_inds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function real_digit_tag(vertex, dim::Int, digit::Int)
end

function digit_siteinds(
g::AbstractGraph;
dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(g),
g::AbstractGraph,
dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(g);
base=2,
) where {V}
is = IndsNetwork(g; site_space=Dictionary(vertices(g), [Index[] for v in vertices(g)]))
Expand All @@ -85,9 +85,9 @@ function digit_siteinds(
end

function complex_digit_siteinds(
g::AbstractGraph;
g::AbstractGraph,
real_dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(g),
imag_dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(g),
imag_dimension_vertices::Vector{Vector{V}}=default_dimension_vertices(g);
base=2,
) where {V}
is = IndsNetwork(g; site_space=Dictionary(vertices(g), [Index[] for v in vertices(g)]))
Expand Down

0 comments on commit 5838861

Please sign in to comment.