| # | Line 46 | Line 46 | void DirectionalAtom::setCoords(void){ | |
|---|---|---|
| 46 | ||
| 47 | hasCoords = true; | |
| 48 | ||
| 49 | < | mu[index] = myMu; |
| 49 | > | *mu = myMu; |
| 50 | ||
| 51 | } | |
| 52 | ||
| 53 | double DirectionalAtom::getMu( void ) { | |
| 54 | ||
| 55 | if( hasCoords ){ | |
| 56 | < | return mu[index]; |
| 56 | > | return *mu; |
| 57 | } | |
| 58 | else{ | |
| 59 | return myMu; | |
| # | Line 64 | Line 64 | void DirectionalAtom::setMu( double the_mu ) { | |
| 64 | void DirectionalAtom::setMu( double the_mu ) { | |
| 65 | ||
| 66 | if( hasCoords ){ | |
| 67 | < | mu[index] = the_mu; |
| 67 | > | *mu = the_mu; |
| 68 | myMu = the_mu; | |
| 69 | } | |
| 70 | else{ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |