From a1d3abc4bb67808620b263a2610151d84d6540fb Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 3 May 2005 12:03:42 +0000 Subject: fixed patches, improved error reporting svn path=/trunk/externals/nusmuk/; revision=2890 --- msd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'msd.h') diff --git a/msd.h b/msd.h index 901ddc1..baeecd7 100644 --- a/msd.h +++ b/msd.h @@ -145,7 +145,7 @@ public: } } - static t_float dist(const Mass &m1,const Mass &m2) + static inline t_float dist(const Mass &m1,const Mass &m2) { if(N == 1) return fabs(m1.pos[0]-m2.pos[0]); // L[n] = |x1 - x2| @@ -366,7 +366,7 @@ protected: void m_mass(int argc,t_atom *argv) { if(argc != 3+N) { - error("mass : Id mobile mass X"); + error("mass : Id mobile mass X%s%s",N >= 2?" Y":"",N >= 3?" Z":""); return; } -- cgit v1.2.1