xo-reader2 stack: use NumericDispatch for *,/,+,- ops

This commit is contained in:
Roland Conybeare 2026-02-18 22:40:37 -08:00
commit 7a364d252a
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,6 @@ namespace xo {
* so we can dispatch on vector, matrix, function types
**/
static DPrimitive_gco_2_gco_gco s_mul_gco_gco_pm;
#endif
/** polymorphic subtract
*
@ -30,6 +29,7 @@ namespace xo {
* so we can dispatch on vector, matrix, function types
**/
static DPrimitive_gco_2_gco_gco s_sub_gco_gco_pm;
#endif
/** polymorphic equality comparison
*

View file

@ -99,7 +99,6 @@ namespace xo {
xtag("y.tseq", y_tseq)));
return obj<AGCObject>();
}
#endif
obj<AGCObject>
sub_gco_gco(obj<ARuntimeContext> rcx,
@ -160,6 +159,7 @@ namespace xo {
xtag("y.tseq", y_tseq)));
return obj<AGCObject>();
}
#endif
obj<AGCObject>
equal_gco_gco(obj<ARuntimeContext> rcx,
@ -260,10 +260,10 @@ namespace xo {
#ifdef OSOLETE
DPrimitive_gco_2_gco_gco
Primitives::s_mul_gco_gco_pm("_mul", &mul_gco_gco);
#endif
DPrimitive_gco_2_gco_gco
Primitives::s_sub_gco_gco_pm("_sub", &sub_gco_gco);
#endif
DPrimitive_gco_2_gco_gco
Primitives::s_equal_gco_gco_pm("_equal", &equal_gco_gco);