From 84b6a32c21fa3d0f64a668363d4e7fd5e0cd7a81 Mon Sep 17 00:00:00 2001 From: Marco Selig Date: Mon, 17 Jun 2013 10:00:08 +0200 Subject: [PATCH] critical typo corrected. --- nifty_power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifty_power.py b/nifty_power.py index eb758225..0f967e5a 100644 --- a/nifty_power.py +++ b/nifty_power.py @@ -495,7 +495,7 @@ def infer_power(m,domain=None,Sk=None,D=None,pindex=None,pundex=None,kindex=None trB2 = Sk.pseudo_tr(D,**kwargs) ## probing of the partial traces of D if(np.any(trB2<0)): about.warnings.cprint("WARNING: nonpositive value(s) in tr[DSk] reset to 0.") - trB2 = np.maximumlgo(0,trB2) + trB2 = np.maximum(0,trB2) ## power spectrum numerator = 2*q+trB1+perception[0]*trB2 ## non-bare(!) denominator1 = rho+2*(alpha-1+perception[1]) -- GitLab