Working in Py2 but broken in Py3

This commit is contained in:
Mike Croucher 2015-04-01 13:23:06 +01:00
parent 5c653fa4b0
commit 27c65003d2
2 changed files with 53 additions and 53 deletions

View file

@ -24,7 +24,7 @@ def chain_1(df_dg, dg_dx):
if np.all(dg_dx==1.):
return df_dg
if len(df_dg) > 1 and df_dg.shape[-1] > 1:
import ipdb; ipdb.set_trace() # XXX BREAKPOINT
#import ipdb; ipdb.set_trace() # XXX BREAKPOINT
raise NotImplementedError('Not implemented for matricies yet')
return df_dg * dg_dx