]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.cpp
- preparations for release 0.5.1
[ginac.git] / ginac / indexed.cpp
index 1f67038f9a04dca5784020229e7a44ac1620a55b..0f6726e543a633ed93bad6dcb3b8c550af6710ec 100644 (file)
@@ -221,6 +221,13 @@ exvector indexed::get_indices(void) const
 
 // protected
 
+/** Implementation of ex::diff() for an indexed object. It always returns 0.
+ *  @see ex::diff */
+ex indexed::derivative(const symbol & s) const
+{
+        return _ex0();
+}
+
 int indexed::compare_same_type(const basic & other) const
 {
     GINAC_ASSERT(is_of_type(other,indexed));