diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-07-28 04:34:22 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-07-28 04:34:22 +0400 |
commit | 993ded0affdadce09a0dbd0c411ad7b4a5c4c11c (patch) | |
tree | 10f22e31de79ee12cd53c6fc01dbf06baec92e7a | |
parent | bf0365ceb0140a9127f59ff6bc1a0a9c113e0a1a (diff) |
Replaced missing integrateDouble() by integrate() newly implemented
in revision 21954.
-rwxr-xr-x | release/scripts/freestyle/style_modules/Functions1D.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/style_modules/Functions1D.py b/release/scripts/freestyle/style_modules/Functions1D.py index 308486bc6a7..aaf115356cb 100755 --- a/release/scripts/freestyle/style_modules/Functions1D.py +++ b/release/scripts/freestyle/style_modules/Functions1D.py @@ -29,7 +29,7 @@ class pyDensityAnisotropyF1D(UnaryFunction1DDouble): def getName(self): return "pyDensityAnisotropyF1D" def __call__(self, inter): - v = integrateDouble(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration) + v = integrate(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration) return v class pyViewMapGradientNormF1D(UnaryFunction1DDouble): @@ -41,5 +41,5 @@ class pyViewMapGradientNormF1D(UnaryFunction1DDouble): def getName(self): return "pyViewMapGradientNormF1D" def __call__(self, inter): - v = integrateDouble(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration) + v = integrate(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration) return v |