Skip to content

Commit

Permalink
Made the constants in double/quad fortran a bit more sane.
Browse files Browse the repository at this point in the history
  • Loading branch information
vermaseren committed Jun 3, 2014
1 parent 9e229fa commit e80f244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ VOID RatToLine(UWORD *a, WORD na)
}
else if ( ( AC.OutputMode == FORTRANMODE || AC.OutputMode == CMODE )
&& AO.DoubleFlag ) {
if ( AO.DoubleFlag == 2 ) { AddToLine((UBYTE *)".Q0"); }
if ( anumer == 1 && adenom == 1 && a[0] == 1 ) {}
else if ( AO.DoubleFlag == 2 ) { AddToLine((UBYTE *)".Q0"); }
else if ( AO.DoubleFlag == 1 ) { AddToLine((UBYTE *)".D0"); }
}
}
Expand Down

0 comments on commit e80f244

Please sign in to comment.