Kwasniok / python-nerte

non-euclidean ray tracing engine
2 stars 0 forks source link

make miss reason in getter non-optional #30

Closed Kwasniok closed 3 years ago

Kwasniok commented 3 years ago

is:

IntersectionInfo.miss_reason() -> Optional[MissReason]

should be:

IntersectionInfo.miss_reason() -> MissReason
# precondition: info.misses() == True
# raises RuntimeError
Kwasniok commented 3 years ago

5a929aaf89cd5618e8001706ffe21f7138ec95c2