From cfcdd69c733c308e19691d10c6c17163a81fc2ef Mon Sep 17 00:00:00 2001 From: Luke Chang Date: Sun, 12 Nov 2017 17:21:21 -0500 Subject: [PATCH] moved all_same to utils Former-commit-id: ba5f15d8a0e332d050388da2fbb11e0b3b5c2454 --- nltools/data/design_matrix.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nltools/data/design_matrix.py b/nltools/data/design_matrix.py index 96c3b8a9..a94e1f9a 100644 --- a/nltools/data/design_matrix.py +++ b/nltools/data/design_matrix.py @@ -421,9 +421,6 @@ def add_dct_basis(self,duration=180): return out -def all_same(items): - return np.all(x == items[0] for x in items) - def _vif(X, y): """ DEPRECATED