Your ROOT_URL in app.ini is https://git.hpc.odu.edu/ but you are visiting https://git.wahab.hpc.odu.edu/wirawan0/wpylib/commit/3b0a8af1aa01c7994755fa8cc4bd64a66dfa8149?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

* Added MathWarning for mathematics-related warning messages.

master
Wirawan Purwanto 11 years ago
parent 04e78ade1d
commit 3b0a8af1aa
  1. 8
      math/__init__.py

@ -8,8 +8,16 @@ pass
import numpy
class MathWarning(Warning):
"""Base class for mathematics-related warnings for wpylib library.
"""
ZERO_TOL = 5.0e-16
def ztol(val, tol=None, copy=True):
"""Rounds down values to zero if they are below tolerance."""
if tol == None: tol = ZERO_TOL

Loading…
Cancel
Save