1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-07-12 01:35:29 +02:00

initialize product_matrix as zeros

This commit is contained in:
kalmar 2017-01-13 18:04:20 +01:00
parent a8bf216c7e
commit aa184ebb29

View File

@ -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