pass the right Id element for rings
This commit is contained in:
parent
45d8d85189
commit
1e54e25672
8
main.jl
8
main.jl
@ -96,7 +96,13 @@ function main(::Type{Standard}, Gr::SymmetrizedGroup)
|
|||||||
|
|
||||||
solver = scs_solver(tol, iterations)
|
solver = scs_solver(tol, iterations)
|
||||||
|
|
||||||
return PropertyT.check_property_T(groupdir, S, G(),
|
if G isa AbstractAlgebra.Ring
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user