##// END OF EJS Templates
fix comparing nested structures containing numpy arrays
sleeping -
Show More
@@ -321,6 +321,10 b' def update_class(old, new):'
321 except (AttributeError, TypeError):
321 except (AttributeError, TypeError):
322 pass
322 pass
323 continue
323 continue
324 except ValueError:
325 # can't compare nested structures containing
326 # numpy arrays using `==`
327 pass
324
328
325 if update_generic(old_obj, new_obj):
329 if update_generic(old_obj, new_obj):
326 continue
330 continue
General Comments 0
You need to be logged in to leave comments. Login now