Check argc
Former-commit-id: 11ffbe17d94708b8755f3a228040e723c987b248
This commit is contained in:
parent
c4a6841973
commit
fb78c7fa48
|
@ -152,6 +152,7 @@ int main (int argc, char **argv) {
|
||||||
const double MAXR_REAL = 100 * LATTICE_H;
|
const double MAXR_REAL = 100 * LATTICE_H;
|
||||||
const double MAXR_K = 100 * INVLATTICE_A;
|
const double MAXR_K = 100 * INVLATTICE_A;
|
||||||
|
|
||||||
|
if (argc < 2) abort();
|
||||||
|
|
||||||
char *omegastr = argv[1];
|
char *omegastr = argv[1];
|
||||||
// char *kfile = argv[2]; // not used;, will be read from stdin
|
// char *kfile = argv[2]; // not used;, will be read from stdin
|
||||||
|
|
Loading…
Reference in New Issue