• 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
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...