Commit a6bc4cd
committed
Implement math.prod() improvements from CodeRabbit review
- Use math.prod() for cleaner normalization calculations
- Replace manual multiplication loops with built-in function
- Maintains all functionality while improving code readability
- Formatting fixes from pre-commit hooks1 parent c8eae2b commit a6bc4cd
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 186 | + | |
188 | 187 | | |
189 | 188 | | |
190 | 189 | | |
| |||
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
214 | 211 | | |
215 | 212 | | |
216 | 213 | | |
| |||
289 | 286 | | |
290 | 287 | | |
291 | 288 | | |
292 | | - | |
293 | | - | |
294 | | - | |
| 289 | + | |
295 | 290 | | |
296 | 291 | | |
297 | 292 | | |
| |||
0 commit comments