From a31f793feccca3350da6bd15ffb0a0dfe2caa768 Mon Sep 17 00:00:00 2001 From: David Leppla-Weber Date: Tue, 15 Aug 2023 13:40:37 +0200 Subject: [PATCH] estimate_covar: remove unused variable --- src/curve_fit.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/curve_fit.jl b/src/curve_fit.jl index cc000be..3ce0397 100755 --- a/src/curve_fit.jl +++ b/src/curve_fit.jl @@ -258,8 +258,6 @@ function StatsAPI.vcov(fit::LsqFitResult) J = fit.jacobian if isempty(fit.wt) - r = fit.resid - # compute the covariance matrix from the QR decomposition (J = QR): # => inv(J' J) = inv(J) * inv(J') # = inv(QR) * inv(R'Q')