Skip to content

Bug matlab2026removed check gradients#907

Closed
JenHardt wants to merge 8 commits into
e0404:masterfrom
JenHardt:bug_MATLAB2026removedCheckGradients
Closed

Bug matlab2026removed check gradients#907
JenHardt wants to merge 8 commits into
e0404:masterfrom
JenHardt:bug_MATLAB2026removedCheckGradients

Conversation

@JenHardt
Copy link
Copy Markdown
Contributor

MATLAB 2026 removed the CheckGradients option (see https://de.mathworks.com/help/optim/release-notes.html), which caused this to fail in that version. The variable was removed. This change should remain backward compatible, since the default value for this option was already false anyway.

@JenHardt JenHardt closed this May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 23.25581% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.80%. Comparing base (4f277bb) to head (ce30108).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
matRad/MatRad_Config.m 0.00% 25 Missing ⚠️
...lc/+DoseEngines/matRad_PhotonPencilBeamSVDEngine.m 50.00% 7 Missing ⚠️
matRad/rayTracing/matRad_RayTracer.m 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #907      +/-   ##
==========================================
- Coverage   54.86%   54.80%   -0.06%     
==========================================
  Files         320      320              
  Lines       20527    20555      +28     
==========================================
+ Hits        11262    11266       +4     
- Misses       9265     9289      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it 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