| 22 |
|
int op; /* '*' or '+' */ |
| 23 |
|
} ROPERAT; /* matrix operation */ |
| 24 |
|
|
| 25 |
– |
int outfmt = DTfromHeader; /* output format */ |
| 25 |
|
int verbose = 0; /* verbose reporting? */ |
| 26 |
|
|
| 27 |
|
static void |
| 164 |
|
int |
| 165 |
|
main(int argc, char *argv[]) |
| 166 |
|
{ |
| 167 |
+ |
int outfmt = DTfromHeader; |
| 168 |
|
RMATRIX *mres = NULL; |
| 169 |
|
ROPERAT op; |
| 170 |
|
int i; |
| 234 |
|
#ifdef getc_unlocked |
| 235 |
|
flockfile(stdout); |
| 236 |
|
#endif |
| 237 |
+ |
if (outfmt == DTfromHeader) |
| 238 |
+ |
outfmt = mres->dtype; |
| 239 |
|
#ifdef _WIN32 |
| 240 |
|
if (outfmt != DTascii) |
| 241 |
|
_setmode(fileno(stdout), _O_BINARY); |