From cd43ab2cdaf7489bda74be2f031ef669bc914f61 Mon Sep 17 00:00:00 2001 From: "Gregory J. Ward" Date: Sat, 23 Mar 2024 16:40:52 +0000 Subject: [PATCH] fix: Needed to move test for it to work! --- src/rt/pmapray.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rt/pmapray.c b/src/rt/pmapray.c index dbbe1730..9c073b54 100644 --- a/src/rt/pmapray.c +++ b/src/rt/pmapray.c @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pmapray.c,v 2.8 2024/03/22 16:54:16 greg Exp $"; +static const char RCSid[] = "$Id: pmapray.c,v 2.9 2024/03/23 16:40:52 greg Exp $"; #endif /* @@ -12,7 +12,7 @@ static const char RCSid[] = "$Id: pmapray.c,v 2.8 2024/03/22 16:54:16 greg Exp $ supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== - $Id: pmapray.c,v 2.8 2024/03/22 16:54:16 greg Exp $ + $Id: pmapray.c,v 2.9 2024/03/23 16:40:52 greg Exp $ */ @@ -24,10 +24,10 @@ static const char RCSid[] = "$Id: pmapray.c,v 2.8 2024/03/22 16:54:16 greg Exp $ void ray_init_pmap () /* Interface to ray_init(); init & load photon maps */ { - if (NCSAMP > 3 && photonMapping) - error(USER, "photon-mapping not currently supported for > 3 spectral samples"); - loadPmaps(photonMaps, pmapParams); + + if (NCSAMP > 3 && photonMapping) + error(USER, "hyperspectral photon-mapping currently unsupported"); }