Commit 3ec36f2
committed
Preserve order of NamedTuple fields in JointDistributionNamed.
This fixes a breakage of `test_can_call_namedtuple_log_prob_with_args_and_kwargs` in python 3.8, when toposort of NamedTuple args returned an order different from input.
PiperOrigin-RevId: 3114372181 parent 3244d86 commit 3ec36f2
File tree
1 file changed
+3
-1
lines changed- tensorflow_probability/python/distributions
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
291 | 293 | | |
0 commit comments