#NEWLINE# def _crosscat_remap_two( self , bdb , generator_id , X_L_list , X_D_list , first , second ) : #NEWLINE# #INDENT# if ( first is None ) : #NEWLINE# #INDENT# ( new_second , X_L_list , X_D_list ) = self . _crosscat_remap_mixed ( bdb , generator_id , X_L_list , X_D_list , second ) #NEWLINE# return ( None , new_second , X_L_list , X_D_list ) #NEWLINE# #UNINDENT# if ( second is None ) : #NEWLINE# #INDENT# ( new_first , X_L_list , X_D_list ) = self . _crosscat_remap_mixed ( bdb , generator_id , X_L_list , X_D_list , first ) #NEWLINE# return ( new_first , None , X_L_list , X_D_list ) #NEWLINE# #UNINDENT# ( new , X_L_list , X_D_list ) = self . _crosscat_remap_mixed ( bdb , generator_id , X_L_list , X_D_list , ( first + second ) ) #NEWLINE# return ( new [ : len ( first ) ] , new [ len ( first ) : ] , X_L_list , X_D_list )