提交 9e00f9a8 authored 作者: Tanjay94's avatar Tanjay94

Removed the dtype cast on qr function.

上级 6c9d52dd
......@@ -1045,8 +1045,6 @@ class QRFull(Op):
q[0], r[0] = self._numop(x,
self.mode)
q[0] = q[0].astype(x.dtype)
r[0] = r[0].astype(x.dtype)
def __str__(self):
return self._numop.__name__.capitalize()
......@@ -1083,8 +1081,6 @@ class QRIncomplete(Op):
q[0] = self._numop(x,
self.mode)
q[0] = q[0].astype(x.dtype)
def __str__(self):
return self._numop.__name__.capitalize()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论