diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e4a8cb0..19641da 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.5.0) -project(AmpliCI VERSION 2.1) +project(AmpliCI VERSION 2.1.099) set(CMAKE_C_COMPILER gcc) diff --git a/src/options.c b/src/options.c index 950e646..1b5a5be 100644 --- a/src/options.c +++ b/src/options.c @@ -631,7 +631,7 @@ void fprint_usage(FILE *fp, const char *exe_name, const char *command, void *obj for (size_t i = start; i < strlen(exe_name); ++i) fputc(toupper(exe_name[i]), fp); //fprintf(fp, "(%d)\n", 1); - fprintf(fp, "(v2.1)\n"); + fprintf(fp, "(v2.1.099)\n"); /* default command is to cluster */ if (!command) { command = ""; diff --git a/src/statistics.c b/src/statistics.c index 7ed77bf..76c2518 100644 --- a/src/statistics.c +++ b/src/statistics.c @@ -35,7 +35,7 @@ double dpoisbind(unsigned int n, unsigned int k, double *perr) pnj[i] = perr[j - 1] * pnj[i - 1] + (1 - perr[j - 1]) * pnj[i]; } - pnj[0] = (1 - perr[j]) * pnj[0]; + pnj[0] = (1 - perr[j-1]) * pnj[0]; // fprintf(stderr, "%e\n", pnj[k]); }