diff --git a/src/TR.jl b/src/TR.jl index e5a0876..f005cba 100644 --- a/src/TR.jl +++ b/src/TR.jl @@ -82,7 +82,7 @@ elseif regType == "GL" # Grünwald-Letnikov fractional derivative regulariztion regMat = zeros(p,p); for i in 1:p - regMat[i:end, i] = regMat[1:end-i+1]; + regMat[i:end, i] = C[1:end-i+1]; end end