[DBG] minor bug fixes
@@ -23,7 +23,7 @@ class TestIndicator(unittest.TestCase):
def test_identity_pos(self):
a = np.array(range(0,5))
a = np.concatenate((a,a))
- X = rsu.indicator.identity_pos(a)
+ X = rsu.indicator.identity(a, positive=True)
n_row,n_col = X.shape
self.assertEqual(n_row,10)
self.assertEqual(n_col,4)
