You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor bug but when initializing an FAMC filter with no acc or mag entry, it throws:
AttributeError: 'NoneType' object has no attribute 'copy'
Here is the version of the initialization call in the package:
class FAMC:
def init(self, acc: np.ndarray = None, mag: np.ndarray = None):
self.acc = acc.copy()
self.mag = mag.copy()
self.Q = None
if self.acc is not None and self.mag is not None:
self.Q = self._compute_all()
The text was updated successfully, but these errors were encountered:
Minor bug but when initializing an FAMC filter with no acc or mag entry, it throws:
AttributeError: 'NoneType' object has no attribute 'copy'
Here is the version of the initialization call in the package:
class FAMC:
def init(self, acc: np.ndarray = None, mag: np.ndarray = None):
self.acc = acc.copy()
self.mag = mag.copy()
self.Q = None
if self.acc is not None and self.mag is not None:
self.Q = self._compute_all()
The text was updated successfully, but these errors were encountered: