• Adam Procter's avatar
    Change OneHot to accept only integral types (#2689) · 9fea22b2
    Adam Procter authored
    * Change OneHot to accept only non-real types
    
    * Update docstring
    
    * Update Python test
    
    * Add is_integral to element::Type
    
    * Update docs
    
    * Change is_integral to false for boolean
    
    * Revert "Change is_integral to false for boolean"
    
    This reverts commit 099ff378ae7fcbd1d9346665812f6b95e4886186.
    
    * Revert "Add is_integral to element::Type"
    
    This reverts commit 58fdf76fecaefdad10431f9a894523f326f3adca.
    
    * Change is_integral so it is, by definition, !is_real
    9fea22b2
Name
Last commit
Last update
..
_templates/autosummary Loading commit data...
backend-support Loading commit data...
core Loading commit data...
diagnostics Loading commit data...
distr Loading commit data...
frameworks Loading commit data...
graphics Loading commit data...
ops Loading commit data...
project Loading commit data...
python_api Loading commit data...
tutorials Loading commit data...
branding-notice.rst Loading commit data...
buildlb.rst Loading commit data...
conf.py Loading commit data...
glossary.rst Loading commit data...
index.rst Loading commit data...
sitemap.rst Loading commit data...