diff --git a/vampyre/estim/gaussian.py b/vampyre/estim/gaussian.py index b545f79..34ea067 100644 --- a/vampyre/estim/gaussian.py +++ b/vampyre/estim/gaussian.py @@ -42,9 +42,9 @@ def __init__(self, zmean, zvar, shape,name=None,\ if np.isscalar(shape): shape = (shape,) if is_complex: - dtype = np.double + dtype = np.complex128 else: - dtype = np.complex + dtype = np.double BaseEst.__init__(self,shape=shape,dtype=dtype,name=name, var_axes=var_axes,type_name='GaussEst', cost_avail=True) diff --git a/vampyre/trans/convolve2d.py b/vampyre/trans/convolve2d.py index 94bca96..ac9497c 100644 --- a/vampyre/trans/convolve2d.py +++ b/vampyre/trans/convolve2d.py @@ -67,7 +67,7 @@ def __init__(self,shape,kernel,is_complex=False,im_axes=(0,1)): self.srep_axes = self.chan_axes # Superclass constructor - dtype = np.float + dtype = np.float64 BaseLinTrans.__init__(self, shape, shape, dtype, dtype,\ svd_avail=True,name='Convolve2D')