#NEWLINE# def _chk_size( a , b ) : #NEWLINE# #INDENT# a = ma . asanyarray ( a ) #NEWLINE# b = ma . asanyarray ( na ) #NEWLINE# ( na , nb ) = ( a . size , b . size ) #NEWLINE# if ( na != nb ) : #NEWLINE# #INDENT# raise ValueError ( ( 'The size of the input array should match! (%s <> %s)' % ( na , nb ) ) ) #NEWLINE# #UNINDENT# return ( a , b , na )