print"OPTIMISATION WARNING: in ConvOp.__init__() unroll_kern(%s) should be 0 or a multiple of nkern(%s)We revert it to 1. This won't change the result, but may make it slower."%(str(self.unroll_kern),str(self.nkern))
self.unroll_kern=1
if(self.dx!=1orself.dy!=1):
print"WARNING: dx(%d)!=1 or dy(%d)!=1. The gradient is not implemented for those case."