提交 438a35e5 authored 作者: lamblin's avatar lamblin

Merge pull request #1485 from nouiz/tests_adv_sub

Tests adv sub
...@@ -12,7 +12,6 @@ def make_declare(loop_orders, dtypes, sub): ...@@ -12,7 +12,6 @@ def make_declare(loop_orders, dtypes, sub):
# and an integer for the number of dimensions # and an integer for the number of dimensions
decl += """ decl += """
%(dtype)s* %(var)s_iter; %(dtype)s* %(var)s_iter;
int %(var)s_nd;
""" % locals() """ % locals()
for j, value in enumerate(loop_order): for j, value in enumerate(loop_order):
if value != 'x': if value != 'x':
......
...@@ -1072,9 +1072,6 @@ class TestAdvancedSubtensor(unittest.TestCase): ...@@ -1072,9 +1072,6 @@ class TestAdvancedSubtensor(unittest.TestCase):
a.broadcastable, self.ix2.broadcastable) a.broadcastable, self.ix2.broadcastable)
def test_inc_adv_subtensor_w_matrix(self): def test_inc_adv_subtensor_w_matrix(self):
if inplace_increment is None:
raise inplace_increment_missing
subt = self.v[self.ix2] subt = self.v[self.ix2]
a = inc_subtensor(subt, subt) a = inc_subtensor(subt, subt)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论