Skip to content
Snippets Groups Projects
Commit 716ca075 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Move second test on `ishape_last` inside the first

Move the second test on `self._ishape_last[i_slice][orientation]`
inside the first test. Avoid the double test on
`self._ishape_last[i_slice][orientation]` when
`self._ishape_last[i_slice][orientation]` is not None on entry of the
function. If `self._ishape_last[i_slice][orientation]` is not None on
entry of the function then, necessarily, the assertion on
`self._ishape_last[i_slice][orientation].size` and the definition of
`self._e_max[i_slice][orientation]` have already been done because
`self._ishape_last[i_slice][orientation]` and
`self._e_max[i_slice][orientation]` are only defined from the function
get_ishape_last.
parent 65c0e52b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment