move include after type definitions

This commit is contained in:
kalmar 2017-06-22 12:01:17 +02:00
parent 1468ac209c
commit f2ffc142f7

View File

@ -6,21 +6,9 @@ using GroupRings
using PropertyT
using ValidatedNumerics
import Nemo: Group, GroupElem
using ArgParse
include("OrbitDecomposition.jl")
immutable OrbitData
name::String
Us::Vector
Ps::Vector{Array{JuMP.Variable,2}}
cnstr::Vector
laplacian::Vector
laplacianSq::Vector
dims::Vector{Int}
end
import Nemo: Group, GroupElem
immutable Settings
name::String
@ -34,6 +22,17 @@ immutable Settings
tol::Float64
end
immutable OrbitData
name::String
Us::Vector
Ps::Vector{Array{JuMP.Variable,2}}
cnstr::Vector
laplacian::Vector
laplacianSq::Vector
dims::Vector{Int}
end
include("OrbitDecomposition.jl")
function sparsify{T}(U::Array{T}, eps=eps(T))
n = rank(U)
W = deepcopy(U)