File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ def _smooth(self):
9999 self ._P = np .empty ((0 , * self ._ains .P .shape ), dtype = "float64" )
100100 return
101101 elif len (self ._x_buf ) == 1 :
102- self ._x = np .asarray_chkfinite (self ._x_buf ). copy ()
103- self ._P = np .asarray_chkfinite (self ._P_buf ). copy ()
102+ self ._x = np .asarray_chkfinite (self ._x_buf )
103+ self ._P = np .asarray_chkfinite (self ._P_buf )
104104 elif len (self ._x_buf ) != len (self ._x ):
105105 self ._x , self ._P = self ._backward_sweep (
106106 self ._x_buf ,
@@ -123,7 +123,7 @@ def x(self) -> NDArray:
123123 been updated with measurements.
124124 """
125125 self ._smooth ()
126- return np . asarray_chkfinite ( self ._x ) .copy ()
126+ return self ._x .copy ()
127127
128128 @property
129129 def P (self ) -> NDArray :
@@ -140,7 +140,7 @@ def P(self) -> NDArray:
140140 the smoother has been updated with measurements.
141141 """
142142 self ._smooth ()
143- return np . asarray_chkfinite ( self ._P ) .copy ()
143+ return self ._P .copy ()
144144
145145 def position (self ) -> NDArray :
146146 """
You can’t perform that action at this time.
0 commit comments