Commit 55474bb
committed
[RF] Remove redundante
The `depList` list is filled already with the subset of normalization
variables that the pdf depends on (see `getObservables(nset, depList)` a
few lines before. Therefore, the check `dependsOn(depList)` is
redundant and causes unnecessary performance overheads, as the whole
compute graph of the pdf has to be traversed.
We might as well check if `depList` is empty for the same logic.
(cherry picked from commit c1608ac)dependsOn() when creating norm. integral1 parent aa63e73 commit 55474bb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
0 commit comments