1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-27 18:55:30 +01:00

Merge branch 'master' into enh/sparsification

This commit is contained in:
kalmar 2017-07-05 13:24:21 +02:00
commit 7a39775fff
3 changed files with 4 additions and 5 deletions

View File

@ -191,7 +191,7 @@ function check_property_T(sett::Settings)
if λ > 0
isapprox(eigvals(P), abs(eigvals(P)), atol=sett.tol) ||
isapprox(eigvals(P), abs.(eigvals(P)), atol=sett.tol) ||
warn("The solution matrix doesn't seem to be positive definite!")
# @assert P == Symmetric(P)
Q = real(sqrtm(Symmetric(P)))

View File

@ -130,7 +130,7 @@ function reconstruct_sol{T<:GroupElem, S<:AbstractArray}(mreps::Dict{T, S},
return recP
end
function Cstar_repr(x::GroupRingElem, mreps)
function Cstar_repr(x::GroupRingElem, mreps::Dict)
k = collect(keys(mreps))[1]
res = zeros(size(mreps[k])...)

View File

@ -147,10 +147,9 @@ function setup_logging(name::String)
Memento.add_handler(logger,
Memento.DefaultHandler(joinpath(name,"full_$(string((now()))).log"),
Memento.DefaultFormatter("{date}| {msg}")),
"full_log")
Memento.DefaultFormatter("{date}| {msg}")), "full_log")
e = redirect_stderr(logger.handlers["full_log"].io)
# e = redirect_stderr(logger.handlers["full_log"].io)
return logger
end