• Removed the deprecated np.bool type from the codebase.
• Replaced instances of np.bool with the built-in bool type.
Context
The use of np.bool has been deprecated, and it is recommended to use the native bool type in Python. This pull request addresses this deprecation by removing all occurrences of np.bool and updating them to use bool instead. This ensures code compatibility with the latest best practices and avoids potential issues related to deprecated types.
Changes Made
• Removed the deprecated np.bool type from the codebase. • Replaced instances of np.bool with the built-in bool type.
Context
The use of np.bool has been deprecated, and it is recommended to use the native bool type in Python. This pull request addresses this deprecation by removing all occurrences of np.bool and updating them to use bool instead. This ensures code compatibility with the latest best practices and avoids potential issues related to deprecated types.