diff options
author | Arun Isaac | 2021-02-23 16:21:51 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-23 16:21:51 +0530 |
commit | 59c0f5d621d665a2ab48cc760b561a7b610ab5fd (patch) | |
tree | 71a71224b4d8061bd9abc1ea87ac24b2e454b883 /src/macros/macros.sc | |
parent | aa8f62acf46a3b9d05ca675044edac15213b7095 (diff) | |
download | nsmc-59c0f5d621d665a2ab48cc760b561a7b610ab5fd.tar.gz nsmc-59c0f5d621d665a2ab48cc760b561a7b610ab5fd.tar.lz nsmc-59c0f5d621d665a2ab48cc760b561a7b610ab5fd.zip |
Redefine integrand_t as a struct.
This change will make it easier for the scheme wrapper to curry
integrands.
* include/extent-sampling.h (integrand_t): Redefine type as struct.
(integral): Pass pointer to integrand_t.
* src/extent-sampling.sc (integral-per-direction, integral): Handle
new integrand-t type.
(invoke-integrand): New sc macro.
Diffstat (limited to 'src/macros/macros.sc')
0 files changed, 0 insertions, 0 deletions