| # | Line 103 | Line 103 | namespace OpenMD { | |
|---|---|---|
| 103 | RealType distance = r12.length(); | |
| 104 | ||
| 105 | if (distance < len_) { | |
| 106 | < | int whichBin = distance / deltaR_; |
| 106 | > | int whichBin = int(distance / deltaR_); |
| 107 | histogram_[whichBin] += 1; | |
| 108 | } | |
| 109 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |