aboutsummaryrefslogtreecommitdiff
path: root/src/utils.sc
diff options
context:
space:
mode:
authorArun Isaac2021-02-23 16:21:51 +0530
committerArun Isaac2021-02-23 16:21:51 +0530
commit59c0f5d621d665a2ab48cc760b561a7b610ab5fd (patch)
tree71a71224b4d8061bd9abc1ea87ac24b2e454b883 /src/utils.sc
parentaa8f62acf46a3b9d05ca675044edac15213b7095 (diff)
downloadnsmc-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/utils.sc')
0 files changed, 0 insertions, 0 deletions