Group <-> Ring dispatch problem is solved when generating Laplacian
This commit is contained in:
parent
6abb2c4186
commit
01405cb3cc
10
main.jl
10
main.jl
@ -101,13 +101,7 @@ function main(::Type{Naive}, Gr::SymmetrizedGroup; dir="")
|
|||||||
|
|
||||||
solver = scs_solver(tol, iterations)
|
solver = scs_solver(tol, iterations)
|
||||||
|
|
||||||
if G isa AbstractAlgebra.Ring
|
return PropertyT.check_property_T(dir, S,
|
||||||
Id = one(G)
|
|
||||||
else
|
|
||||||
Id = G()
|
|
||||||
end
|
|
||||||
|
|
||||||
return PropertyT.check_property_T(groupdir, S, Id,
|
|
||||||
solver, upper_bound, tol, radius, warm)
|
solver, upper_bound, tol, radius, warm)
|
||||||
|
|
||||||
end
|
end
|
||||||
@ -126,6 +120,6 @@ function main(::Type{Naive}, Gr::GAPGroup; dir="")
|
|||||||
|
|
||||||
solver = scs_solver(tol, iterations)
|
solver = scs_solver(tol, iterations)
|
||||||
|
|
||||||
return PropertyT.check_property_T(groupdir, S, G(),
|
return PropertyT.check_property_T(dir, S,
|
||||||
solver, upper_bound, tol, radius, warm)
|
solver, upper_bound, tol, radius, warm)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user