mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-24 02:00:30 +01:00
initialize product_matrix as zeros
This commit is contained in:
parent
a8bf216c7e
commit
aa184ebb29
@ -39,7 +39,7 @@ end
|
||||
|
||||
function create_product_matrix(basis::Array{Array{Float64,2},1}, limit::Int)
|
||||
|
||||
product_matrix = Array{Int}(limit,limit)
|
||||
product_matrix = zeros(Int, (limit,limit))
|
||||
constraints = [Array{Int,1}[] for x in 1:length(basis)]
|
||||
|
||||
for i in 1:limit
|
||||
|
Loading…
Reference in New Issue
Block a user