Little fixes for linux compilation

This commit is contained in:
Celine Mercier
2019-09-05 17:19:29 +02:00
parent 5e3c41b058
commit ad3a72597f

View File

@ -14,6 +14,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <getopt.h> #include <getopt.h>
#include <math.h>
#include "libecoPCR/ecoPCR.h" #include "libecoPCR/ecoPCR.h"
#include "libecoPCR/libthermo/nnparams.h" #include "libecoPCR/libthermo/nnparams.h"
@ -426,9 +427,9 @@ static int print_seq(Obiview_p i_view, Obiview_p o_view,
tm2=nparam_CalcTwoTM(tparm,oligo2,primer2,o2->patlen) - 273.15; tm2=nparam_CalcTwoTM(tparm,oligo2,primer2,o2->patlen) - 273.15;
//tm = (tm1 < tm2) ? tm1:tm2; //tm = (tm1 < tm2) ? tm1:tm2;
if isnan(tm1) if (isnan(tm1))
tm1 = OBIFloat_NA; tm1 = OBIFloat_NA;
if isnan(tm2) if (isnan(tm2))
tm2 = OBIFloat_NA; tm2 = OBIFloat_NA;
// Get the taxon structure // Get the taxon structure