commit fe9f2143af49e296795c6d017b7342aee42164b1 parent f0b2132938a1ed624d611de1106ac5afc55ea483 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 15 Apr 2021 12:17:03 +0200 Update the check_trace_ray_args function Diffstat:
| M | src/atrstm_svx.c | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/atrstm_svx.c b/src/atrstm_svx.c @@ -82,9 +82,7 @@ check_trace_ray_args if(!args) return 0; - if(args->iband != ATRSTM_TRACE_RAY_ARGS_DEFAULT.iband /* Not use */ - || args->iquad != ATRSTM_TRACE_RAY_ARGS_DEFAULT.iquad /* Not use */ - || atrstm->spectral_type != ATRSTM_SPECTRAL_SW) { + if(atrstm->spectral_type != ATRSTM_SPECTRAL_SW) { log_err(atrstm, "%s: only shortwave is currently supported.\n", func_name); return 0;