Commit 110fa7f
committed
[RF] Don't derefernce pointers in code emitted by RooFit codegen
Differentiating through Cling runtime checks in pointer dereferncing can
result in errors:
```txt
warning: attempted differentiation of function 'cling_runtime_internal_throwIfInvalidPointer' without definition and no suitable overload was found in namespace 'custom_derivatives'
note: numerical differentiation is not viable for 'cling_runtime_internal_throwIfInvalidPointer'; considering 'cling_runtime_internal_throwIfInvalidPointer' as 0
<<< cling interactive line includer >>>:1:1: error: read-only variable is not assignable
^
```1 parent 747738a commit 110fa7f
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | | - | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
1029 | 1031 | | |
1030 | 1032 | | |
1031 | 1033 | | |
1032 | 1034 | | |
1033 | 1035 | | |
1034 | 1036 | | |
1035 | | - | |
| 1037 | + | |
1036 | 1038 | | |
1037 | 1039 | | |
1038 | 1040 | | |
| |||
0 commit comments