Skip to content

Commit

Permalink
Fixed bug with mass function ranges
Browse files Browse the repository at this point in the history
Pointed out by Enrico Vesperini
  • Loading branch information
ahwkuepper committed Sep 16, 2014
1 parent 218b12a commit 52099a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ int main (int argv, char **argc) {
if (mn < MAX_MN) {
mlim[mn] = atof(optarg);
if (mn == 0) mlow = atof(optarg);
if (mn == 1) mup = atof(optarg);
else mup = atof(optarg);
mn++;
break;
} else { printf("\nError: Number of mass params exceded maximum limit of %d\n", MAX_MN); return 1; }
Expand Down

0 comments on commit 52099a1

Please sign in to comment.