X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedmorisitahorn.cpp;h=d52ead5e6fccbb784487fd188b12424035a30658;hb=a537fefa3bd2c2eba7d532249375b6a11b295e25;hp=d5cdeeccd05dbe8570ad09c5617c3ef106a7be78;hpb=5b9b3e01150055e3b4bb1a911ea4c61d0b755e89;p=mothur.git diff --git a/sharedmorisitahorn.cpp b/sharedmorisitahorn.cpp index d5cdeec..d52ead5 100644 --- a/sharedmorisitahorn.cpp +++ b/sharedmorisitahorn.cpp @@ -14,9 +14,9 @@ EstOutput MorHorn::getValues(vector shared) { try { data.resize(1,0); - float Atotal, Btotal, tempA, tempB; + double Atotal, Btotal, tempA, tempB; Atotal = 0; Btotal = 0; - float morhorn, sumSharedA, sumSharedB, a, b, d; + double morhorn, sumSharedA, sumSharedB, a, b, d; morhorn = 0.0; sumSharedA = 0.0; sumSharedB = 0.0; a = 0.0; b = 0.0; d = 0.0; //get the total values we need to calculate the theta denominator sums @@ -48,7 +48,7 @@ EstOutput MorHorn::getValues(vector shared) { return data; } catch(exception& e) { - errorOut(e, "MorHorn", "getValues"); + m->errorOut(e, "MorHorn", "getValues"); exit(1); } }