GetHumanPhotoreceptorSS is not well setup to do uncommon numbers of receptors, e.g., 2 as for tritanopia. In particular, the bleached fraction must be passed to PTB as a triplet, but that's not enforced/guaranteed. By initializing fractionConeBleachedFromIsom as a triplet, this seems to be fixed.
GetHumanPhotoreceptorSS
is not well setup to do uncommon numbers of receptors, e.g., 2 as for tritanopia. In particular, the bleached fraction must be passed to PTB as a triplet, but that's not enforced/guaranteed. By initializingfractionConeBleachedFromIsom
as a triplet, this seems to be fixed.