Ticket #5901 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Back2BackExponential lacks proper asymptotic aproximation

Reported by: Jose Borreguero Owned by: Jose Borreguero
Priority: minor Milestone: Release 2.3
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

f(x) = exp(U(x))*erfc(Y(x)) + exp(V(x))*erfc(Z(x)) signals overflow for large abs(x) values due to exp(U) and exp(V), even though the products exp(U)*erfc(Y) and exp(V)erfc(Z) go to zero.

Fix: insert conditions checking for potential overflow, and set the potentially offending product to zero in such case.

Change History

comment:1 Changed 8 years ago by Jose Borreguero

Refs #5901 Added conditions checking for potential overflow

modified: BackToBackExponential.h modified: BackToBackExponential.cpp

Changeset: aabcd6acfa3745f782f183ad91932e3c2221d24b

comment:2 Changed 8 years ago by Jose Borreguero

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Jose Borreguero

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 8 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:5 Changed 8 years ago by Andrei Savici

  • Status changed from verifying to closed

comment:6 Changed 8 years ago by Jose Borreguero

Refs #5901 Added conditions checking for potential overflow

modified: BackToBackExponential.h modified: BackToBackExponential.cpp

Changeset: aabcd6acfa3745f782f183ad91932e3c2221d24b

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6747

Note: See TracTickets for help on using tickets.