This file is indexed.

/usr/lib/python2.7/dist-packages/dolfin/common/math.py is in python-dolfin 1.3.0+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
"""Convenience functions that are useful in subdomains and expressions. Matches
some of the functions in dolfin/math/basic.h."""

__all__ = ["sqr"]

from constants import DOLFIN_EPS

# The cpp version of these functions are about 3 times faster
#def between(x0, x, x1):
#    """Returns true if x0-epsilon < x < x1+epsilon"""
#    return x0-DOLFIN_EPS < x < x1+DOLFIN_EPS
#
#def near(x, x0):
#    """Returns true if x0-epsilon < x < x0+epsilon"""
#    return x0-DOLFIN_EPS < x < x0+DOLFIN_EPS

def sqr(x):
    return x*x