diff --git a/include/tadah/models/descriptors/d_basis_functions.h b/include/tadah/models/descriptors/d_basis_functions.h
index c4df96ce84f64fac9c8b12304b955adfadd404b8..09d468380c9013e6d68c0ddf762605de64e712ff 100644
--- a/include/tadah/models/descriptors/d_basis_functions.h
+++ b/include/tadah/models/descriptors/d_basis_functions.h
@@ -39,6 +39,9 @@ inline double B(double x_c)
         return 0.0;
     }
 }
+inline double B(double r, double eta, double miu) {
+  return B(eta*(r-miu));
+}
 inline double B(double x_c, double f)
     // x_c = eta*(rij-r_s)
     // return B(x_c)*f