diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-05-03 12:03:42 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-05-03 12:03:42 +0000 |
commit | a1d3abc4bb67808620b263a2610151d84d6540fb (patch) | |
tree | f4986dfd8a7fed4335cee6f79a70a79840acee1d /msd.h | |
parent | bf5b6525ec173512665779ae2caea65e8600bc84 (diff) |
fixed patches, improved error reporting
svn path=/trunk/externals/nusmuk/; revision=2890
Diffstat (limited to 'msd.h')
-rw-r--r-- | msd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |