acts-project / detray

Test library for detector surface intersection
Mozilla Public License 2.0
10 stars 18 forks source link

ref: Adapt the assertions in the navigator to cache exhaustion #802

Closed niermann999 closed 3 weeks ago

niermann999 commented 3 weeks ago

If the cache is exhausted, m_next is larger than m_last, which in turn must be smaller than the cache size.

niermann999 commented 3 weeks ago

I changed the version number briefly again, since I need this for the detray update in traccc (hopefully the last assert to fix :))

niermann999 commented 3 weeks ago

As a bit of constructive criticism, are you aware that you can ask traccc to use a local version of detray rather than pulling a tag from Github? That allows you to test these kinds of version changes without having to make tags for detray all the time.

Edit: Done via the -DTRACCC_DETRAY_SOURCE="SOURCE_DIR;[ABSOLUTE_DETRAY_PATH_HERE]" flag.

I know (I usually just edit the detray version traccc pulled in build/_deps/ tbh). I was just too impatient to run any of the other tests in debug mode, because it takes a while