#NEWLINE# @ staticmethod #NEWLINE# def _find_i_vars( functions , intervals ) : #NEWLINE# #INDENT# i_vars = [ ] #NEWLINE# for i in intervals : #NEWLINE# #INDENT# if ( i . v is None ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( i . v in i_vars ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Multiple intervals given for %s.' % str ( i . v ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# i_vars . append ( i . v ) #NEWLINE# #UNINDENT# for f in functions : #NEWLINE# #INDENT# for a in f . free_symbols : #NEWLINE# #INDENT# if ( a not in i_vars ) : #NEWLINE# #INDENT# i_vars . append ( a ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return i_vars