Skip to content

Commit

Permalink
estimate_covar: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
David96 committed Oct 13, 2023
1 parent 6e933cd commit a31f793
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/curve_fit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit a31f793

Please sign in to comment.