Skip to content

Commit

Permalink
fixing parsing in TIN2
Browse files Browse the repository at this point in the history
  • Loading branch information
scarrazza committed Mar 6, 2017
1 parent f212fb6 commit 8feb78d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/triangle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ namespace ql
TINDNS1(res, sxpi);
else
{
if (Real(Kallen2(xpi[3],xpi[4],xpi[5])) < this->_zero || xpi[4] != xpi[5])
TOutput K2 = Kallen2(xpi[3],xpi[4],xpi[5]);
if (Real(K2) < this->_zero)
{
const TOutput p[2] = {TOutput(xpi[4]),TOutput(xpi[5])};
TOutput m[3] = {TOutput(xpi[0]), TOutput(xpi[1]), TOutput(xpi[2])};
Expand Down

0 comments on commit 8feb78d

Please sign in to comment.