Skip to content

Fix a deprecation warning in open_images_format#440

Merged
zhiltsov-max merged 2 commits intoopen-edge-platform:developfrom
IRDonch:np-bool
Aug 31, 2021
Merged

Fix a deprecation warning in open_images_format#440
zhiltsov-max merged 2 commits intoopen-edge-platform:developfrom
IRDonch:np-bool

Conversation

@IRDonch
Copy link
Copy Markdown

@IRDonch IRDonch commented Aug 31, 2021

Summary

np.bool was deprecated in NumPy 1.20 in favor of plain bool.

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Roman Donchenko added 2 commits August 31, 2021 17:15
`np.bool` was deprecated in NumPy 1.20 in favor of plain `bool`.
@IRDonch IRDonch requested a review from zhiltsov-max August 31, 2021 14:19
@zhiltsov-max zhiltsov-max merged commit cdaf945 into open-edge-platform:develop Aug 31, 2021
@IRDonch IRDonch deleted the np-bool branch September 29, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants