diff --git a/src/ALL_module.F90 b/src/ALL_module.F90
index ad9dcfd14937b5065ece390acbc6b176960de49f..021dc7d033ffc531e1d3bc3b4136a1a230284408 100644
--- a/src/ALL_module.F90
+++ b/src/ALL_module.F90
@@ -47,6 +47,7 @@ module ALL_module
     integer(c_int), public, parameter :: ALL_VORONOI = 3
 #endif
     integer(c_int), public, parameter :: ALL_HISTOGRAM = 4
+    integer(c_int), public, parameter :: ALL_TENSORMAX = 5
     integer(c_int), public, parameter :: ALL_UNIMPLEMENTED = 128
     ! The different error IDs. Must be kept in sync with CustomException class
     integer(c_int), public, parameter :: ALL_ERROR_GENERIC = 1