Skip to content

Commit 92ed504

Browse files
Fix uniform_lpdf OpenCL restriction indices
1 parent 0121e19 commit 92ed504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stan_math_backend/Transform_Mir.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ let opencl_trigger_restrictions =
151151
; ( "uniform_lpdf"
152152
, [ [ (0, UnsizedType.AutoDiffable, UnsizedType.UVector)
153153
; (1, UnsizedType.DataOnly, UnsizedType.UReal)
154-
; (1, UnsizedType.DataOnly, UnsizedType.UReal) ] ] ) ]
154+
; (2, UnsizedType.DataOnly, UnsizedType.UReal) ] ] ) ]
155155

156156
let opencl_supported_functions =
157157
[ "bernoulli_lpmf"; "bernoulli_logit_lpmf"; "bernoulli_logit_glm_lpmf"

0 commit comments

Comments
 (0)