Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matRad has issues with 2D patients #324

Open
wahln opened this issue Jan 23, 2019 · 0 comments
Open

matRad has issues with 2D patients #324

wahln opened this issue Jan 23, 2019 · 0 comments

Comments

@wahln
Copy link
Contributor

wahln commented Jan 23, 2019

For some applications it might be interesting to first evaluate on a 2D phantom. However, matRad has problems when the 3rd dimension is only of size 1 (MATLAB removes the last dimension and thus some array accesses fail, for example sz = size(ct.cube{1}) gives only a 1x2 array, and sz(3) will then lead to a crash.)

@wahln wahln added the bug label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant