Repository navigation
Commit ac1115b
Keep RandomRing vector reads inside the ring
This addresses a review comment on the random ring repositioning.
- setRandomPosition() can place the ring at any index.
- getNextValueVc() now wraps to the start when a vector would run past the end.
https://its.cern.ch/jira/browse/O2-7309
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e43b82b commit ac1115b
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | | - | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
0 commit comments