mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-12 16:00:59 +00:00
Bugfix __eq__ for numpy data types (#8646)
* [Python] Sync PythonTest.sh flags with generate_code.py * [Python] Update generated code to latest flatc version for tests * [Python] Fix test support for numpy newer than 2.0.0 * [Python] Remove unused variable * [Python] Fix __eq__ for numpy arrays * [Python] Run clang-format over the entire file
This commit is contained in:
@@ -282,8 +282,8 @@ class MonsterExtraT(object):
|
||||
self.f1 == other.f1 and \
|
||||
self.f2 == other.f2 and \
|
||||
self.f3 == other.f3 and \
|
||||
self.dvec == other.dvec and \
|
||||
self.fvec == other.fvec
|
||||
np.array_equal(self.dvec, other.dvec) and \
|
||||
np.array_equal(self.fvec, other.fvec)
|
||||
|
||||
# MonsterExtraT
|
||||
def _UnPack(self, monsterExtra):
|
||||
|
||||
Reference in New Issue
Block a user