From 6ef1ef82411d19f5fada9b23b21abcb585f9c996 Mon Sep 17 00:00:00 2001 From: "Brett M. Morris" Date: Sat, 30 Jun 2018 11:31:15 -0700 Subject: [PATCH] Update for bright spots (c > 1) Hey Leslie, I've implemented those changes so you can just click "merge pull request" to get an updated version on GitHub. Brett --- stsp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stsp.c b/stsp.c index 465a4f5..1b32264 100644 --- a/stsp.c +++ b/stsp.c @@ -1536,8 +1536,8 @@ double realstararea(double starradius) # endif totarea-=darea; } - if(totarea<0||totarea>PI*starradius*starradius) - errorflag=5; +// if(totarea<0||totarea>PI*starradius*starradius) +// errorflag=5; return totarea; } double ldcirclearea(double starradius,int cn) @@ -2239,9 +2239,9 @@ double ldstararea(double starradius) errorflag=9; } - if(totarea>PI*starradius*starradius) - if(!errorflag) - errorflag=9; +// if(totarea>PI*starradius*starradius) +// if(!errorflag) +// errorflag=9; return totarea; }