This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<> inline | |
HPy BinaryAdd::operator()( HPyContext *ctx, Variable* first, double second, HPy h_first, HPy h_second ) | |
{ | |
HPy temp = BinaryMul()( ctx, first, 1.0, h_first, HPy_NULL ); | |
if( HPy_IsNull(temp) ) | |
return HPy_NULL; | |
return operator()( ctx, Term_AsStruct( ctx, temp ), second, temp, h_second ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment