728 |
|
} else { |
729 |
|
const SDTreCDst *cd = (const SDTreCDst *)SDgetTreCDist(v1, sdc); |
730 |
|
if (cd == NULL) |
731 |
< |
return SDEmemory; |
732 |
< |
myPSA[0] = M_PI * (cd->clim[0][1] - cd->clim[0][0]) * |
733 |
< |
(cd->clim[1][1] - cd->clim[1][0]); |
734 |
< |
myPSA[1] = cd->max_psa; |
731 |
> |
myPSA[0] = myPSA[1] = 0; |
732 |
> |
else { |
733 |
> |
myPSA[0] = M_PI * (cd->clim[0][1] - cd->clim[0][0]) * |
734 |
> |
(cd->clim[1][1] - cd->clim[1][0]); |
735 |
> |
myPSA[1] = cd->max_psa; |
736 |
> |
} |
737 |
|
} |
738 |
|
switch (qflags) { /* record based on flag settings */ |
739 |
|
case SDqueryVal: |