From 9eed19de82195c0a1d2eef6c6d63250e5f802ace Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 13 Feb 2016 01:10:30 +0200 Subject: [PATCH] removed overengineering --- src/problems.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/problems.jl b/src/problems.jl index f56ec07..22de3a8 100644 --- a/src/problems.jl +++ b/src/problems.jl @@ -31,8 +31,6 @@ type Assembly la_prev :: Vector{Float64} # previous solution vector u la_norm_change :: Real # change of norm in la - prehooks :: Vector{Tuple{Symbol,Any,Any}} # assign possible prehooks before assembly - posthooks :: Vector{Tuple{Symbol,Any,Any}} # assign possible posthooks after assembly changed :: Bool # flag to control is reassembly needed end @@ -48,7 +46,7 @@ function Assembly() SparseMatrixCOO(), [], [], Inf, [], [], Inf, - [], [], true) + true) end function Base.empty!(assembly::Assembly)