Commit 60cdb31
committed
SI-9407 Vector implementation bit-shift bugfix
Fixed logically incorrect or unnecessary code in Vector as reported by Dirk Toewe.
No tests. Because of the size of the vectors, tests would be impractically slow. Also, the logic is quite clear: when you are recursing through a tree, using the wrong bit shift means you hit the wrong part of the tree, and when you create and then always overwrite a mutable var, you should just not do it to begin with.1 parent 6426d0b commit 60cdb31
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
1160 | | - | |
1161 | 1159 | | |
1162 | 1160 | | |
1163 | 1161 | | |
| |||
1170 | 1168 | | |
1171 | 1169 | | |
1172 | 1170 | | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | 1171 | | |
1177 | 1172 | | |
1178 | 1173 | | |
| |||
1187 | 1182 | | |
1188 | 1183 | | |
1189 | 1184 | | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | 1185 | | |
1195 | 1186 | | |
1196 | | - | |
| 1187 | + | |
1197 | 1188 | | |
1198 | 1189 | | |
1199 | 1190 | | |
| |||
0 commit comments