Commit e32223fc authored by Johan Richard's avatar Johan Richard
Browse files

Forcing sigy from sigx in case of circular source

parent 4cc0cc1d
...@@ -34,9 +34,9 @@ void checkpar() ...@@ -34,9 +34,9 @@ void checkpar()
//Double check galaxy sources //Double check galaxy sources
for (i=0; i<S.ns;i++) for (i=0; i<S.ns;i++)
{ {
if(source[i].eps>0) if(source[i].eps>=0)
{ {
if(source[i].E.a>0) if(source[i].E.a>=0)
{ {
if(source[i].E.b>0) if(source[i].E.b>0)
fprintf(stderr, "WARNING: source %d sig_y parameter readjusted according to eps\n", i); fprintf(stderr, "WARNING: source %d sig_y parameter readjusted according to eps\n", i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment