#NEWLINE# def __iadd__( self , PB ) : #NEWLINE# #INDENT# if ( ( self . K != PB . K ) or ( self . D != PB . D ) ) : #NEWLINE# #INDENT# raise ValueError ( 'Dimension mismatch' ) #NEWLINE# #UNINDENT# self . _Fields += PB . _Fields #NEWLINE# if hasattr ( self , '_ELBOTerms' ) : #NEWLINE# #INDENT# self . _ELBOTerms += PB . _ELBOTerms #NEWLINE# #UNINDENT# if hasattr ( self , '_MergeTerms' ) : #NEWLINE# #INDENT# self . _MergeTerms += PB . _MergeTerms #NEWLINE# #UNINDENT# return self