openmdao/solvers/solver.py
def _disallow_discrete_outputs(self):
        """
        Raise an exception if any discrete outputs exist in our System.
        """
        if self._system._var_allprocs_discrete['output']:
            raise RuntimeError("System '%s' has a %s solver and contains discrete outputs %s." %
                               (self._system.pathname, type(self).__name__,
                                sorted(self._system._var_allprocs_discrete['output'])))

        Raise an exception if any discrete outputs exist in our System.
        
Raise an exception if any discrete outputs exist in our System.
Raise an exception if any discrete outputs exist in our System .
def _disallow_discrete_outputs(self):
        if self._system._var_allprocs_discrete['output']:
            raise RuntimeError("System '%s' has a %s solver and contains discrete outputs %s." %
                               (self._system.pathname, type(self).__name__,
                                sorted(self._system._var_allprocs_discrete['output'])))
def _disallow_discrete_outputs ( self ) : if self . _system . _var_allprocs_discrete [ 'output' ] : raise RuntimeError ( "System '%s' has a %s solver and contains discrete outputs %s." % ( self . _system . pathname , type ( self ) . __name__ , sorted ( self . _system . _var_allprocs_discrete [ 'output' ] ) ) )
Raise an exception if any discrete outputs exist in our System.
Raise an exception if any discrete outputs exist in our System .
"""
        Raise an exception if any discrete outputs exist in our System.
        """
self