--- trunk/OOPSE/libmdtools/DirectionalAtom.cpp 2003/08/12 19:56:49 689 +++ trunk/OOPSE/libmdtools/DirectionalAtom.cpp 2003/08/12 21:44:06 690 @@ -46,14 +46,14 @@ void DirectionalAtom::setCoords(void){ hasCoords = true; - mu[index] = myMu; + *mu = myMu; } double DirectionalAtom::getMu( void ) { if( hasCoords ){ - return mu[index]; + return *mu; } else{ return myMu; @@ -64,7 +64,7 @@ void DirectionalAtom::setMu( double the_mu ) { void DirectionalAtom::setMu( double the_mu ) { if( hasCoords ){ - mu[index] = the_mu; + *mu = the_mu; myMu = the_mu; } else{