Skip to content

Commit

Permalink
Fix kwarg defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-kloss committed Jan 9, 2024
1 parent bc87d90 commit 07051d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/treetensornetworks/opsum_to_ttn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function svdTTN(
root_vertex::VT;
mindim::Int=1,
maxdim::Int=typemax(Int),
cutoff::Float64=eps(coefficient_type) * 1e1,
cutoff::eps(coefficient_type) * 10,
)::TTN where {VT}
edgetype_sites = edgetype(sites)
coefficient_type = ITensors.determineValType(ITensors.terms(os))
Expand Down Expand Up @@ -246,7 +246,7 @@ function qn_svdTTN(
root_vertex::VT;
mindim::Int=1,
maxdim::Int=typemax(Int),
cutoff::Float64=eps(coefficient_type) * 1e1,
cutoff::eps(coefficient_type) * 10,
)::TTN where {VT}
# check for qns on the site indices
#FIXME: this check for whether or not any of the siteindices has QNs is somewhat ugly
Expand Down

0 comments on commit 07051d8

Please sign in to comment.