Changeset 3865


Ignore:
Timestamp:
Oct 25, 2006, 5:47:12 PM (16 years ago)
Author:
ole
Message:

Ooops - one of them should be machine precision. Sorry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/search_functions.py

    r3858 r3865  
    9696            # Sigmas are allowed to get negative within
    9797            # machine precision on some machines (e.g nautilus)
     98            epsilon = get_machine_precision()           
    9899            if sigma0 >= -epsilon and sigma1 >= -epsilon and sigma2 >= -epsilon:
    99100                element_found = True
Note: See TracChangeset for help on using the changeset viewer.