refactor subtraction operation
[scilab.git] / scilab / modules / ast / includes / operations / types_opposite.hxx
index 0f5d834..ab2b480 100644 (file)
@@ -16,6 +16,8 @@
 #include "internal.hxx"
 #include "sparse.hxx"
 #include "polynom.hxx"
+#include "bool.hxx"
+#include "double.hxx"
 
 void fillOppositeFunction();
 
@@ -33,6 +35,9 @@ DECLARE_OPPOSITE_PROTO(opposite_MC);
 
 #undef DECLARE_OPPOSITE_PROTO
 
+//do not inline it
+template<> types::InternalType* opposite_M<types::Bool, types::Double>(types::Bool* _pL);
+
 template<> inline types::InternalType* opposite_M<types::Sparse, types::Sparse>(types::Sparse* _pL);
 template<> inline types::InternalType* opposite_MC<types::Sparse, types::Sparse>(types::Sparse* _pL);