Move error messages to stderr

This commit is contained in:
Gareth Evans
2017-02-01 15:00:37 +00:00
parent e4ca9f3099
commit 29df12461b
5 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ double ECC33pathLoss(float f, float TxH, float RxH, float d, int mode)
}
if (f < 700 || f > 3500) {
printf("Error: ECC33 model frequency range 700-3500MHz\n");
fprintf(stderr,"Error: ECC33 model frequency range 700-3500MHz\n");
exit(EXIT_FAILURE);
}
// MHz to GHz