Skip to content

Commit 32841bd

Browse files
authored
Merge pull request #1598 from ishaan-arora-1/fix/uniform-opencl-restriction
Fix uniform_lpdf OpenCL restriction
2 parents 4632466 + 92ed504 commit 32841bd

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)