Skip to content

Commit 9bfa192

Browse files
authored
Merge pull request #3774 from y-guyon:patch-1
Replace np.NAN by np.nan in test_viz_simple.py
2 parents 94cda4b + 686d0f1 commit 9bfa192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/viz/misc/python/test/test_viz_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_viz_show_cloud_random_color(self):
179179
def test_viz_show_cloud_masked(self):
180180
dragon_cloud,_,_ = cv.viz.readCloud(self.find_file("viz/dragon.ply"))
181181

182-
qnan = np.NAN
182+
qnan = np.nan
183183
for idx in range(dragon_cloud.shape[0]):
184184
if idx % 15 != 0:
185185
dragon_cloud[idx,:] = qnan

0 commit comments

Comments
 (0)