updates from code review feedback
updates from code review feedback

- use std::max() instead of ternary operator

ospray/OSPRay,ospray/OSPRay,ospray/OSPRay,ospray/OSPRay,wilsonCernWq/ospray,wilsonCernWq/ospray,wilsonCernWq/ospray