pettni / pdf-abstraction

Now developed in the mdp_network repository
1 stars 0 forks source link

test_abstraction.test_lti fails #13

Open shaesaert opened 5 years ago

shaesaert commented 5 years ago
Error
Traceback (most recent call last):
  File "/anaconda/envs/mdp36/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/anaconda/envs/mdp36/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/Users/shaesaert/Documents/GitHub/mdp_network/tests/test_abstraction_gridding.py", line 136, in test_lti
    abstr = LTIGrid(sys_lti, d, un=4, MKeps = (M, K, eps))
  File "/Users/shaesaert/Documents/GitHub/mdp_network/best/abstraction/gridding.py", line 182, in __init__
    output_trans=lambda s: (s, self.s_to_x(s)), output_name='(s,xc)')
  File "/Users/shaesaert/Documents/GitHub/mdp_network/best/models/pomdp.py", line 72, in __init__
    self._Tmat_csr[m_tuple] = sp.csr_matrix(T[key], dtype=DTYPE)
  File "/anaconda/envs/mdp36/lib/python3.6/site-packages/scipy/sparse/compressed.py", line 88, in __init__
    self._set_self(self.__class__(coo_matrix(arg1, dtype=dtype)))
  File "/anaconda/envs/mdp36/lib/python3.6/site-packages/scipy/sparse/compressed.py", line 37, in __init__
    arg1 = arg1.asformat(self.format)
  File "/anaconda/envs/mdp36/lib/python3.6/site-packages/scipy/sparse/base.py", line 326, in asformat
    return convert_method(copy=copy)
  File "/anaconda/envs/mdp36/lib/python3.6/site-packages/scipy/sparse/coo.py", line 412, in tocsr
    if not self.has_canonical_format:
  File "/anaconda/envs/mdp36/lib/python3.6/site-packages/scipy/sparse/base.py", line 688, in __getattr__
    raise AttributeError(attr + " not found")
AttributeError: has_canonical_format not found