Skip to content

jac and jac_residual should not return linear operators#33

Open
abelsiqueira wants to merge 1 commit intomainfrom
dont-return-linop-jac
Open

jac and jac_residual should not return linear operators#33
abelsiqueira wants to merge 1 commit intomainfrom
dont-return-linop-jac

Conversation

@abelsiqueira
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 28, 2022

Codecov Report

Merging #33 (9c4d0a7) into main (4dc8160) will decrease coverage by 0.61%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   94.91%   94.30%   -0.62%     
==========================================
  Files           2        2              
  Lines         177      158      -19     
==========================================
- Hits          168      149      -19     
  Misses          9        9              
Impacted Files Coverage Δ
src/lls_model.jl 93.79% <ø> (-0.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4dc8160...9c4d0a7. Read the comment docs.

Comment thread src/lls_model.jl
@lencheck nls.nls_meta.nequ v
increment!(nls, :neval_hess_residual)
n = nls.meta.nvar
return opZeros(T, n, n)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return spzeros(n, n)?

Comment thread src/lls_model.jl
@lencheck nls.meta.nvar x
increment!(nls, :neval_jhess_residual)
n = nls.meta.nvar
return opZeros(T, n, n)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants