diff --git a/src/analysis_and_optimization/Memory_patterns.ml b/src/analysis_and_optimization/Memory_patterns.ml index 694da9212..753f95a66 100644 --- a/src/analysis_and_optimization/Memory_patterns.ml +++ b/src/analysis_and_optimization/Memory_patterns.ml @@ -389,9 +389,16 @@ let rec query_initial_demotable_stmt (in_loop : bool) (acc : string Set.Poly.t) Set.Poly.union_list [ acc; query_expr acc predicate ; query_initial_demotable_stmt true acc body ] - | Decl {decl_type= Type.Sized st; decl_id; _} - when SizedType.is_complex_type st -> - Set.add acc decl_id + | Decl {decl_type= Type.Sized st; decl_id; initialize; _} -> + let complex_name = + match SizedType.is_complex_type st with + | true -> Set.Poly.singleton decl_id + | false -> Set.Poly.empty in + let init_names = + match initialize with + | Assign e -> query_expr acc e + | _ -> Set.Poly.empty in + Set.union acc (Set.union complex_name init_names) | Skip | Break | Continue | Decl _ -> acc (** Look through a statement to see whether the objects used in it need to be @@ -419,6 +426,13 @@ let query_demotable_stmt (aos_exits : string Set.Poly.t) match is_nonzero_subset ~set:aos_exits ~subset:all_rhs_eigen_names with | true -> Set.add all_rhs_eigen_names assign_name | false -> Set.Poly.empty) + | Decl {decl_id; initialize= Assign e; _} -> ( + let all_rhs_eigen_names = query_var_eigen_names e in + if Set.mem aos_exits decl_id then Set.add all_rhs_eigen_names decl_id + else + match is_nonzero_subset ~set:aos_exits ~subset:all_rhs_eigen_names with + | true -> Set.add all_rhs_eigen_names decl_id + | false -> Set.Poly.empty) (* All other statements do not need logic here*) | _ -> Set.Poly.empty @@ -453,7 +467,7 @@ let rec modify_kind ?force_demotion:(force = false) (Fun_kind.StanLib (name, sfx, Mem_pattern.AoS), exprs') else ( Fun_kind.StanLib (name, sfx, SoA) - , List.map ~f:(modify_expr ~force_demotion:force modifiable_set) exprs + , List.map ~f:(modify_expr ~force_demotion:false modifiable_set) exprs ) | UserDefined _ as udf -> (udf, List.map ~f:(modify_expr ~force_demotion:force modifiable_set) exprs) @@ -543,12 +557,56 @@ let rec modify_stmt_pattern let mod_stmt stmt = modify_stmt stmt modifiable_set in match pattern with | Stmt.Fixed.Pattern.Decl - ({decl_id; decl_type= Type.Sized sized_type; _} as decl) -> + { decl_id + ; decl_adtype + ; decl_type= Type.Sized sized_type + ; initialize= + Assign + ({ pattern= FunApp (CompilerInternal (FnReadParam read_param), args) + ; _ } as assigner) } -> + let name = decl_id in + if Set.mem modifiable_set name then + Stmt.Fixed.Pattern.Decl + { decl_id + ; decl_adtype + ; decl_type= + Type.Sized (SizedType.modify_sizedtype_mem AoS sized_type) + ; initialize= + Assign + { assigner with + pattern= + FunApp + ( CompilerInternal + (FnReadParam {read_param with mem_pattern= AoS}) + , List.map ~f:(mod_expr true) args ) } } + else + Stmt.Fixed.Pattern.Decl + { decl_id + ; decl_adtype + ; decl_type= + Type.Sized (SizedType.modify_sizedtype_mem SoA sized_type) + ; initialize= + Assign + { assigner with + pattern= + FunApp + ( CompilerInternal + (FnReadParam {read_param with mem_pattern= SoA}) + , List.map ~f:(mod_expr false) args ) } } + | Stmt.Fixed.Pattern.Decl + ({decl_id; decl_type= Type.Sized sized_type; initialize; _} as decl) -> if Set.mem modifiable_set decl_id then + let init_expr = + match initialize with + | Stmt.Fixed.Pattern.Assign e -> + Stmt.Fixed.Pattern.Assign (mod_expr false e) + | Default -> Default + | Uninit -> Uninit in Stmt.Fixed.Pattern.Decl { decl with decl_type= - Type.Sized (SizedType.modify_sizedtype_mem AoS sized_type) } + Type.Sized (SizedType.modify_sizedtype_mem AoS sized_type) + ; initialize= init_expr } else Decl { decl with diff --git a/src/analysis_and_optimization/Monotone_framework.ml b/src/analysis_and_optimization/Monotone_framework.ml index 54174fbe0..45d3dab3b 100644 --- a/src/analysis_and_optimization/Monotone_framework.ml +++ b/src/analysis_and_optimization/Monotone_framework.ml @@ -73,6 +73,7 @@ let rec free_vars_stmt (s : (Expr.Typed.t, Stmt.Located.t) Stmt.Fixed.Pattern.t) [free_vars_expr e1; free_vars_expr e2; free_vars_stmt b.pattern] | Profile (_, l) | Block l | SList l -> Set.Poly.union_list (List.map ~f:(fun s -> free_vars_stmt s.pattern) l) + | Decl {initialize= Assign e; _} -> free_vars_expr e | Decl _ | Break | Continue | Return None | Skip -> Set.Poly.empty (** A variation on free_vars_stmt, where we do not recursively count free @@ -81,6 +82,7 @@ let top_free_vars_stmt (flowgraph_to_mir : (int, Stmt.Located.Non_recursive.t) Map.Poly.t) (s : (Expr.Typed.t, int) Stmt.Fixed.Pattern.t) = match s with + | Decl {initialize= Assign e; _} -> free_vars_expr e | Assignment _ | Return _ | TargetPE _ | JacobianPE _ | NRFunApp _ | Decl _ |Break | Continue | Skip -> free_vars_stmt @@ -472,6 +474,7 @@ let assigned_vars_stmt (s : (Expr.Typed.t, 'a) Stmt.Fixed.Pattern.t) = match s with | Assignment (lhs, _, _) -> Set.Poly.singleton (Middle.Stmt.Helpers.lhs_variable lhs) + | Decl {decl_id; initialize= Assign _; _} -> Set.Poly.singleton decl_id | TargetPE _ | JacobianPE _ -> Set.Poly.singleton "target" | NRFunApp ( ( UserDefined (_, (FnTarget | FnJacobian)) @@ -622,7 +625,9 @@ let used_expressions_expr e = Expr.Typed.Set.singleton e let rec used_expressions_stmt_help f (s : (Expr.Typed.t, Stmt.Located.t) Stmt.Fixed.Pattern.t) = match s with - | TargetPE e | JacobianPE e | Return (Some e) -> f e + | TargetPE e | JacobianPE e | Return (Some e) | Decl {initialize= Assign e; _} + -> + f e | Assignment (l, _, e) -> Set.union (f e) (used_expressions_lval f l) | IfElse (e, b1, Some b2) -> Expr.Typed.Set.union_list @@ -656,7 +661,9 @@ let used_expressions_stmt = used_expressions_stmt_help used_expressions_expr let top_used_expressions_stmt_help f (s : (Expr.Typed.t, int) Stmt.Fixed.Pattern.t) = match s with - | TargetPE e | JacobianPE e | Return (Some e) -> f e + | TargetPE e | JacobianPE e | Return (Some e) | Decl {initialize= Assign e; _} + -> + f e | Assignment (l, _, e) -> Set.union (f e) (used_expressions_lval f l) | While (e, _) | IfElse (e, _, _) -> f e | NRFunApp (k, l) -> diff --git a/src/analysis_and_optimization/Optimize.ml b/src/analysis_and_optimization/Optimize.ml index 985d03217..bd0806ff1 100644 --- a/src/analysis_and_optimization/Optimize.ml +++ b/src/analysis_and_optimization/Optimize.ml @@ -201,7 +201,7 @@ let handle_early_returns (fname : string) opt_var stmt = { decl_adtype= DataOnly ; decl_id= returned ; decl_type= Sized SInt - ; initialize= true } + ; initialize= Default } ; meta= Location_span.empty } ; Stmt.Fixed. { pattern= @@ -294,7 +294,7 @@ let rec inline_function_expression propto adt fim (Expr.Fixed.{pattern; _} as e) (Type.to_unsized decl_type) ; decl_id= inline_return_name ; decl_type - ; initialize= false } ] + ; initialize= Uninit } ] (* We should minimize the code that's having its variables replaced to avoid conflict with the (two) new dummy variables introduced by inlining *) @@ -464,6 +464,10 @@ let rec inline_function_statement propto adt fim Stmt.Fixed.{pattern; meta} = Block (List.map l ~f:(inline_function_statement propto adt fim)) | SList l -> SList (List.map l ~f:(inline_function_statement propto adt fim)) + | Decl {decl_adtype; decl_id; decl_type; initialize= Assign expr} -> + let d, s, e = inline_function_expression propto adt fim expr in + slist_concat_no_loc (d @ s) + (Decl {decl_adtype; decl_id; decl_type; initialize= Assign e}) | Decl r -> Decl r | Skip -> Skip | Break -> Break @@ -752,6 +756,9 @@ let dead_code_elimination (mir : Program.Typed.t) = remove an assignment to a variable due to side effects. *) (* TODO: maybe we should revisit that. *) + | Decl ({decl_id; initialize= Assign e; _} as decl) -> + if Set.mem live_variables_s decl_id || cannot_remove_expr e then stmt + else Decl {decl with initialize= Uninit} | Decl _ | TargetPE _ | JacobianPE _ |NRFunApp (_, _) |Break | Continue | Return _ | Skip -> @@ -828,14 +835,16 @@ let rec find_assignment_idx (name : string) Stmt.Fixed.{pattern; _} = and unenforce_initialize (lst : Stmt.Located.t list) = let rec unenforce_initialize_patt (Stmt.Fixed.{pattern; _} as stmt) sub_lst = match pattern with - | Stmt.Fixed.Pattern.Decl ({decl_id; _} as decl_pat) -> ( + | Stmt.Fixed.Pattern.Decl ({decl_id; initialize= Default; _} as decl_pat) + -> ( match List.hd sub_lst with | Some next_stmt -> ( match find_assignment_idx decl_id next_stmt with | Some ([] | [Index.All] | [Index.All; Index.All]) -> { stmt with pattern= - Stmt.Fixed.Pattern.Decl {decl_pat with initialize= false} } + Stmt.Fixed.Pattern.Decl {decl_pat with initialize= Uninit} + } | None | Some _ -> stmt) | None -> stmt) | Block block_lst -> @@ -972,7 +981,7 @@ let lazy_code_motion ?(preserve_stability = false) (mir : Program.Typed.t) = { decl_adtype= Expr.Typed.adlevel_of key ; decl_id= data ; decl_type= Type.Unsized (Expr.Typed.type_of key) - ; initialize= true } + ; initialize= Default } ; meta= Location_span.empty } :: accum) in let lazy_code_motion_base i stmt = @@ -1003,6 +1012,7 @@ let lazy_code_motion ?(preserve_stability = false) (mir : Program.Typed.t) = let f stmt = match stmt with | Stmt.Fixed.Pattern.Assignment ((LVariable x, []), _, e') + |Decl {decl_id= x; initialize= Assign e'; _} when Map.mem m e' && Expr.Typed.equal {e' with pattern= Var x} (Map.find_exn m e') -> diff --git a/src/frontend/Ast_to_Mir.ml b/src/frontend/Ast_to_Mir.ml index dd64369d1..c3e894c66 100644 --- a/src/frontend/Ast_to_Mir.ml +++ b/src/frontend/Ast_to_Mir.ml @@ -458,7 +458,8 @@ let create_decl_with_assign decl_id declc decl_type initial_value transform () } in let decl = Stmt. - { Fixed.pattern= Decl {decl_adtype; decl_id; decl_type; initialize= true} + { Fixed.pattern= + Decl {decl_adtype; decl_id; decl_type; initialize= Default} ; meta= smeta } in let rhs_assignment = Option.map @@ -583,7 +584,7 @@ let rec trans_stmt ud_dists (declc : decl_context) (ts : Ast.typed_statement) = { decl_adtype= Expr.Typed.adlevel_of iteratee' ; decl_id= loopvar.name ; decl_type= Unsized decl_type - ; initialize= true } } in + ; initialize= Default } } in let assignment var = Stmt.Fixed. { pattern= @@ -629,7 +630,7 @@ and trans_packed_assign loc trans_stmt lvals rhs assign_op = { decl_adtype= rhs.emeta.ad_level ; decl_id= sym ; decl_type= Unsized rhs_type - ; initialize= false } + ; initialize= Uninit } ; meta= rhs.emeta.loc } in let assign = { temp with @@ -743,7 +744,7 @@ let rec trans_sizedtype_decl declc tr name st = { decl_type= Sized SInt ; decl_id ; decl_adtype= DataOnly - ; initialize= true } + ; initialize= Default } ; meta= e.meta.loc } in let assign = { Stmt.Fixed.pattern= diff --git a/src/middle/Stmt.ml b/src/middle/Stmt.ml index 5e51355ab..be0a67e74 100644 --- a/src/middle/Stmt.ml +++ b/src/middle/Stmt.ml @@ -25,7 +25,7 @@ module Fixed = struct { decl_adtype: UnsizedType.autodifftype ; decl_id: string ; decl_type: 'a Type.t - ; initialize: bool } + ; initialize: 'a decl_init } [@@deriving sexp, hash, map, fold, compare] and 'e lvalue = 'e lbase * 'e Index.t list @@ -34,6 +34,9 @@ module Fixed = struct and 'e lbase = LVariable of string | LTupleProjection of 'e lvalue * int [@@deriving sexp, hash, map, compare, fold] + and 'a decl_init = Uninit | Default | Assign of 'a + [@@deriving sexp, hash, map, fold, compare] + let rec pp_lvalue pp_e ppf (lbase, idcs) = match lbase with | LVariable v -> Fmt.pf ppf "%s%a" v (Index.pp_indices pp_e) idcs @@ -70,9 +73,14 @@ module Fixed = struct | Block stmts -> Fmt.pf ppf "{@;<1 2>@[%a@]@;}" Fmt.(list pp_s ~sep:cut) stmts | SList stmts -> Fmt.(list pp_s ~sep:cut |> vbox) ppf stmts - | Decl {decl_adtype; decl_id; decl_type; _} -> - Fmt.pf ppf "@[%a%a@ %s;@]" UnsizedType.pp_autodifftype - decl_adtype (Type.pp pp_e) decl_type decl_id + | Decl {decl_adtype; decl_id; decl_type; initialize} -> ( + match initialize with + | Assign e -> + Fmt.pf ppf "@[%a%a@ %s = %a;@]" UnsizedType.pp_autodifftype + decl_adtype (Type.pp pp_e) decl_type decl_id pp_e e + | Uninit | Default -> + Fmt.pf ppf "@[%a%a@ %s;@]" UnsizedType.pp_autodifftype + decl_adtype (Type.pp pp_e) decl_type decl_id) include Foldable.Make2 (struct type nonrec ('a, 'b) t = ('a, 'b) t @@ -143,7 +151,7 @@ module Helpers = struct { decl_adtype= Expr.Typed.adlevel_of e ; decl_id= sym ; decl_type= Unsized (Expr.Typed.type_of e) - ; initialize= true } + ; initialize= Default } ; meta= e.meta.loc } in let assign = { decl with diff --git a/src/middle/Stmt.mli b/src/middle/Stmt.mli index 95d91ad38..5a680895b 100644 --- a/src/middle/Stmt.mli +++ b/src/middle/Stmt.mli @@ -23,7 +23,7 @@ module Fixed : sig { decl_adtype: UnsizedType.autodifftype ; decl_id: string ; decl_type: 'a Type.t - ; initialize: bool } + ; initialize: 'a decl_init } [@@deriving sexp, hash, compare] and 'e lvalue = 'e lbase * 'e Index.t list @@ -32,6 +32,9 @@ module Fixed : sig and 'e lbase = LVariable of string | LTupleProjection of 'e lvalue * int [@@deriving sexp, hash, map, compare, fold] + and 'a decl_init = Uninit | Default | Assign of 'a + [@@deriving sexp, hash, map, fold, compare] + include Pattern.S2 with type ('a, 'b) t := ('a, 'b) t end diff --git a/src/stan_math_backend/Lower_stmt.ml b/src/stan_math_backend/Lower_stmt.ml index 227e4a518..b58471db3 100644 --- a/src/stan_math_backend/Lower_stmt.ml +++ b/src/stan_math_backend/Lower_stmt.ml @@ -91,8 +91,12 @@ let rec initialize_value st adtype = (adtype : UnsizedType.autodifftype)] (*Initialize an object of a given size.*) -let lower_assign_sized st adtype initialize = - if initialize then Some (initialize_value st adtype) else None +let lower_assign_sized st adtype (initialize : 'a Stmt.Fixed.Pattern.decl_init) + = + match initialize with + | Assign e -> Some (lower_expr e) + | Default -> Some (initialize_value st adtype) + | Uninit -> None let lower_unsized_decl name ut adtype = let type_ = @@ -103,17 +107,25 @@ let lower_unsized_decl name ut adtype = | true, _ -> TypeLiteral "matrix_cl" in make_variable_defn ~type_ ~name () -let lower_possibly_opencl_decl name st adtype = +let lower_possibly_opencl_decl name st adtype + (initialize : 'a Stmt.Fixed.Pattern.decl_init) = let ut = SizedType.to_unsized st in let mem_pattern = SizedType.get_mem_pattern st in match (Transform_Mir.is_opencl_var name, ut) with - | _, UnsizedType.(UInt | UReal) | false, _ -> - lower_possibly_var_decl adtype ut mem_pattern + | _, UnsizedType.(UInt | UReal) | false, _ -> ( + match initialize with + | Assign + Expr.Fixed. + { pattern= FunApp (CompilerInternal (Internal_fun.FnReadParam _), _) + ; _ } -> + (* Peephole optimization for param reads, avoids copying *) + Auto + | _ -> lower_possibly_var_decl adtype ut mem_pattern) | true, UArray UInt -> TypeLiteral "matrix_cl" | true, _ -> TypeLiteral "matrix_cl" let lower_sized_decl name st adtype initialize = - let type_ = lower_possibly_opencl_decl name st adtype in + let type_ = lower_possibly_opencl_decl name st adtype initialize in let init = lower_assign_sized st adtype initialize |> Option.value_map ~default:Uninitialized ~f:(fun i -> Assignment i) in @@ -197,7 +209,10 @@ let rec lower_statement Stmt.Fixed.{pattern; meta} : stmt list = | _ -> e in let location = match pattern with - | Block _ | SList _ | Decl _ | Skip | Break | Continue -> [] + | Block _ | SList _ + |Decl {initialize= Default | Uninit; _} + |Skip | Break | Continue -> + [] | _ -> Numbering.assign_loc meta in let wrap_e e = [Expression e] in let open Expression_syntax in @@ -320,7 +335,7 @@ let rec lower_statement Stmt.Fixed.{pattern; meta} : stmt list = | Return e -> [Return (Option.map ~f:lower_expr e)] | Block ls -> [Stmts.block (lower_statements ls)] | SList ls -> lower_statements ls - | Decl {decl_adtype; decl_id; decl_type; initialize; _} -> + | Decl {decl_adtype; decl_id; decl_type; initialize} -> [lower_decl decl_id decl_type decl_adtype initialize] | Profile (name, ls) -> [lower_profile name (lower_statements ls)] @@ -333,7 +348,7 @@ module Testing = struct (Fmt.option Cpp.Printing.pp_expr) (lower_assign_sized (SArray (SArray (SMatrix (AoS, int 2, int 3), int 4), int 5)) - DataOnly false) + DataOnly Stmt.Fixed.Pattern.Uninit) |> print_endline; [%expect {| |}] @@ -343,7 +358,7 @@ module Testing = struct (Fmt.option Cpp.Printing.pp_expr) (lower_assign_sized (SArray (SArray (SMatrix (AoS, int 2, int 3), int 4), int 5)) - DataOnly true) + DataOnly Stmt.Fixed.Pattern.Default) |> print_endline; [%expect {| diff --git a/src/stan_math_backend/Transform_Mir.ml b/src/stan_math_backend/Transform_Mir.ml index 6126efd4d..b03976b2f 100644 --- a/src/stan_math_backend/Transform_Mir.ml +++ b/src/stan_math_backend/Transform_Mir.ml @@ -322,7 +322,7 @@ let rec var_context_read_inside_tuple enclosing_tuple_name origin_type (SizedType.to_unsized t) ; decl_id= make_tuple_temp name ; decl_type= Sized t - ; initialize= true } + ; initialize= Default } |> swrap) tuple_component_names tuple_types in let loop = @@ -369,7 +369,7 @@ let rec var_context_read_inside_tuple enclosing_tuple_name origin_type { decl_adtype= AutoDiffable ; decl_id= decl_id_flat ; decl_type= Unsized flat_type - ; initialize= true } + ; initialize= Default } |> swrap , Assignment (Stmt.Helpers.lvariable decl_id_flat, flat_type, origin) |> swrap @@ -402,7 +402,7 @@ let rec var_context_read_inside_tuple enclosing_tuple_name origin_type ] |> swrap ] -let rec var_context_read +let rec var_context_read_internal ((decl_id_lval : 'a Stmt.Fixed.Pattern.lvalue), smeta, st) = let unsized = SizedType.to_unsized st in let scalar = base_type st in @@ -444,7 +444,7 @@ let rec var_context_read else Location_span.empty) , x )) subtypes in - List.concat_map ~f:var_context_read sub_sts + List.concat_map ~f:var_context_read_internal sub_sts | SArray _ when SizedType.contains_tuple st -> (* The IO format for tuples is complicated in this case. Therefore, we need to do the following @@ -473,7 +473,7 @@ let rec var_context_read { decl_adtype= AutoDiffable ; decl_id= variable_name ; decl_type= Unsized array_type - ; initialize= true } + ; initialize= Default } |> swrap_noloc ; Assignment ( Stmt.Helpers.lvariable variable_name @@ -484,7 +484,7 @@ let rec var_context_read { decl_adtype= DataOnly ; decl_id= variable_name ^ "pos__" ; decl_type= Unsized UInt - ; initialize= true } + ; initialize= Default } |> swrap_noloc ; Stmt.Fixed.Pattern.Assignment ( Stmt.Helpers.lvariable (variable_name ^ "pos__") @@ -512,7 +512,7 @@ let rec var_context_read (SizedType.to_unsized t) ; decl_id= make_tuple_temp name ; decl_type= Sized t - ; initialize= true } + ; initialize= Default } |> swrap_noloc) tuple_component_names tuple_types in let loop = @@ -559,7 +559,7 @@ let rec var_context_read { decl_adtype= AutoDiffable ; decl_id= decl_id_flat ; decl_type= Unsized flat_type - ; initialize= false } + ; initialize= Uninit } |> swrap , Assignment ( Stmt.Helpers.lvariable decl_id_flat @@ -595,6 +595,10 @@ let rec var_context_read ] |> swrap ] +let var_context_read p = + (* this never uses the declare-define fast path at the moment *) + (var_context_read_internal p, None) + (* Get the dimension expressions that are expected by constrain/unconstrain functions for a sized type. @@ -630,7 +634,7 @@ let param_deserializer_read ( decl_id_lval , smeta , Program.{out_constrained_st= cst; out_block; out_trans; _} ) = - if not (out_block = Parameters) then [] + if not (out_block = Parameters) then ([], None) else let basic_read (cst, out_trans) = let ut = SizedType.to_unsized cst in @@ -639,34 +643,34 @@ let param_deserializer_read ~adlevel:(UnsizedType.fill_adtype_for_type AutoDiffable ut) () in let dims = read_constrain_dims out_trans cst in - let read = - Expr.Helpers.internal_funapp - (FnReadParam - { constrain= out_trans - ; dims - ; mem_pattern= SizedType.get_mem_pattern cst }) - [] emeta in - read in + Expr.Helpers.internal_funapp + (FnReadParam + { constrain= out_trans + ; dims + ; mem_pattern= SizedType.get_mem_pattern cst }) + [] emeta in let rec read_stmt (lval, cst, out_trans) = match cst with | SizedType.SArray _ when SizedType.contains_tuple cst -> let tupl, array_dims = SizedType.get_array_dims cst in - [ Stmt.Helpers.mk_nested_for (List.rev array_dims) - (fun loopvars -> - Stmt.Fixed. - { meta= smeta - ; pattern= - SList - (read_stmt - (let lbase, idxs = lval in - ( ( lbase - , idxs - @ List.map - ~f:(fun e -> Index.Single e) - (List.rev loopvars) ) - , tupl - , out_trans ))) }) - smeta ] + ( [ Stmt.Helpers.mk_nested_for (List.rev array_dims) + (fun loopvars -> + Stmt.Fixed. + { meta= smeta + ; pattern= + SList + (fst + (read_stmt + (let lbase, idxs = lval in + ( ( lbase + , idxs + @ List.map + ~f:(fun e -> Index.Single e) + (List.rev loopvars) ) + , tupl + , out_trans )))) }) + smeta ] + , None ) | SizedType.STuple _ -> let subtys = Utils.(zip_stuple_trans_exn cst (tuple_trans_exn out_trans)) in @@ -677,13 +681,17 @@ let param_deserializer_read , st , trans )) subtys in - List.concat_map ~f:read_stmt sub_sts - | _ -> + (List.concat_map ~f:(Fn.compose fst read_stmt) sub_sts, None) + | _ -> ( let read = basic_read (cst, out_trans) in - [ Stmt.Fixed. - { pattern= - Pattern.Assignment (lval, SizedType.to_unsized cst, read) - ; meta= smeta } ] in + ( [ Stmt.Fixed. + { pattern= + Pattern.Assignment (lval, SizedType.to_unsized cst, read) + ; meta= smeta } ] + , (* if we're assigning to a top level variable, we can opt into to the declare-define *) + match lval with + | Stmt.Fixed.Pattern.LVariable _, [] -> Some read + | _ -> None )) in read_stmt (decl_id_lval, cst, out_trans) let escape_name str = @@ -764,9 +772,14 @@ let add_reads vars mkread stmts = let var_names = String.Map.of_alist_exn vars in let add_read_to_decl (Stmt.Fixed.{pattern; _} as stmt) = match pattern with - | Decl {decl_id; _} when Map.mem var_names decl_id -> + | Decl ({decl_id; _} as decl_rec) when Map.mem var_names decl_id -> ( let loc, out = Map.find_exn var_names decl_id in - stmt :: mkread (Stmt.Helpers.lvariable decl_id, loc, out) + let param_reader, op_assign = + mkread (Stmt.Helpers.lvariable decl_id, loc, out) in + match op_assign with + | Some e -> + [{stmt with pattern= Decl {decl_rec with initialize= Assign e}}] + | None -> stmt :: param_reader) | _ -> [stmt] in List.concat_map ~f:add_read_to_decl stmts @@ -872,9 +885,9 @@ let var_context_unconstrain_transform (decl_id, smeta, outvar) = (SizedType.to_unsized st) ; decl_id ; decl_type= Type.Sized st - ; initialize= true } + ; initialize= Default } ; meta= smeta } - :: var_context_read (Stmt.Helpers.lvariable decl_id, smeta, st) + :: var_context_read_internal (Stmt.Helpers.lvariable decl_id, smeta, st) @ param_serializer_write ~unconstrain:true (decl_id, outvar) (** Reads in parameters from a serializer and then writes out the unconstrained versions *) @@ -888,7 +901,7 @@ let array_unconstrain_transform (decl_id, smeta, outvar) = (SizedType.to_unsized outvar.Program.out_constrained_st) ; decl_id ; decl_type= Type.Sized outvar.Program.out_constrained_st - ; initialize= true } + ; initialize= Default } ; meta= smeta } in let rec read (lval, st) = match st with @@ -1028,7 +1041,7 @@ let trans_prog (p : Program.Typed.t) = { decl_adtype= DataOnly ; decl_id= pos ; decl_type= Sized SInt - ; initialize= true } + ; initialize= Default } ; Assignment (Stmt.Helpers.lvariable pos, UInt, Expr.Helpers.loop_bottom) ] |> List.map ~f:(fun pattern -> Stmt.Fixed.{pattern; meta= Location_span.empty}) in @@ -1145,7 +1158,7 @@ let trans_prog (p : Program.Typed.t) = { decl_adtype= DataOnly ; decl_id= vident ; decl_type= Type.Unsized type_of_input_var - ; initialize= true } + ; initialize= Default } ; meta= Location_span.empty } ; { pattern= Assignment diff --git a/test/integration/good/code-gen/cl.expected b/test/integration/good/code-gen/cl.expected index b2cbd4a1d..76cfe87fd 100644 --- a/test/integration/good/code-gen/cl.expected +++ b/test/integration/good/code-gen/cl.expected @@ -516,41 +516,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - local_scalar_t__ sigma = DUMMY_VAR__; + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, DUMMY_VAR__); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); { current_statement__ = 10; lp_accum__.add(stan::math::normal_id_glm_lpdf(y_v_d_opencl__, @@ -1233,41 +1222,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - local_scalar_t__ sigma = DUMMY_VAR__; + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, DUMMY_VAR__); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); { current_statement__ = 10; lp_accum__.add(stan::math::normal_id_glm_lpdf(y_v_d_opencl__, @@ -1961,47 +1939,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - double sigma = std::numeric_limits::quiet_NaN(); + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - double alpha = std::numeric_limits::quiet_NaN(); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - double phi = std::numeric_limits::quiet_NaN(); + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, - std::numeric_limits::quiet_NaN()); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, - std::numeric_limits::quiet_NaN()); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, - std::numeric_limits::quiet_NaN()); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); out__.write(alpha_v); out__.write(beta); out__.write(cuts); diff --git a/test/integration/good/code-gen/complex_numbers/cpp.expected b/test/integration/good/code-gen/complex_numbers/cpp.expected index 4f092f441..2ced05d5e 100644 --- a/test/integration/good/code-gen/complex_numbers/cpp.expected +++ b/test/integration/good/code-gen/complex_numbers/cpp.expected @@ -240,43 +240,30 @@ class basic_op_param_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); current_statement__ = 1; - cmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> crowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - crowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex z = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto crowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - z = in__.template read>(); - Eigen::Matrix mat = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto z = in__.template read>(); current_statement__ = 5; - mat = in__.template read>(N, N); - Eigen::Matrix vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto mat = + in__.template read>(N, N); current_statement__ = 6; - vec = in__.template read>(N); - Eigen::Matrix rowvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vec = in__.template read>(N); current_statement__ = 7; - rowvec = in__.template read>(N); - local_scalar_t__ r = DUMMY_VAR__; + auto rowvec = + in__.template read>(N); current_statement__ = 8; - r = in__.template read(); + auto r = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -781,43 +768,30 @@ class basic_op_param_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); current_statement__ = 1; - cmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> crowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - crowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex z = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto crowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - z = in__.template read>(); - Eigen::Matrix mat = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto z = in__.template read>(); current_statement__ = 5; - mat = in__.template read>(N, N); - Eigen::Matrix vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto mat = + in__.template read>(N, N); current_statement__ = 6; - vec = in__.template read>(N); - Eigen::Matrix rowvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vec = in__.template read>(N); current_statement__ = 7; - rowvec = in__.template read>(N); - local_scalar_t__ r = DUMMY_VAR__; + auto rowvec = + in__.template read>(N); current_statement__ = 8; - r = in__.template read(); + auto r = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -1333,50 +1307,30 @@ class basic_op_param_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); current_statement__ = 1; - cmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); + auto cmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> crowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); + auto cvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - crowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex z = - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN()); + auto crowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - z = in__.template read>(); - Eigen::Matrix mat = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto z = in__.template read>(); current_statement__ = 5; - mat = in__.template read>(N, N); - Eigen::Matrix vec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto mat = + in__.template read>(N, N); current_statement__ = 6; - vec = in__.template read>(N); - Eigen::Matrix rowvec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto vec = in__.template read>(N); current_statement__ = 7; - rowvec = in__.template read>(N); - double r = std::numeric_limits::quiet_NaN(); + auto rowvec = + in__.template read>(N); current_statement__ = 8; - r = in__.template read(); + auto r = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(std::numeric_limits::quiet_NaN(), @@ -4058,43 +4012,30 @@ class basic_ops_mix_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cvmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); current_statement__ = 1; - cvmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> cvrowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - cvrowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex zv = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto cvrowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - zv = in__.template read>(); - Eigen::Matrix vmat = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto zv = in__.template read>(); current_statement__ = 5; - vmat = in__.template read>(N, N); - Eigen::Matrix vvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vmat = + in__.template read>(N, N); current_statement__ = 6; - vvec = in__.template read>(N); - Eigen::Matrix vrowvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vvec = in__.template read>(N); current_statement__ = 7; - vrowvec = in__.template read>(N); - local_scalar_t__ v = DUMMY_VAR__; + auto vrowvec = + in__.template read>(N); current_statement__ = 8; - v = in__.template read(); + auto v = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -4687,43 +4628,30 @@ class basic_ops_mix_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cvmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); current_statement__ = 1; - cvmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> cvrowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto cvvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - cvrowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex zv = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto cvrowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - zv = in__.template read>(); - Eigen::Matrix vmat = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto zv = in__.template read>(); current_statement__ = 5; - vmat = in__.template read>(N, N); - Eigen::Matrix vvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vmat = + in__.template read>(N, N); current_statement__ = 6; - vvec = in__.template read>(N); - Eigen::Matrix vrowvec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vvec = in__.template read>(N); current_statement__ = 7; - vrowvec = in__.template read>(N); - local_scalar_t__ v = DUMMY_VAR__; + auto vrowvec = + in__.template read>(N); current_statement__ = 8; - v = in__.template read(); + auto v = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -5327,50 +5255,30 @@ class basic_ops_mix_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix,-1,-1> cvmat = - Eigen::Matrix,-1,-1>::Constant(N, N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); current_statement__ = 1; - cvmat = in__.template read< - Eigen::Matrix,-1,-1>>(N, N); - Eigen::Matrix,-1,1> cvvec = - Eigen::Matrix,-1,1>::Constant(N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); + auto cvmat = + in__.template read< + Eigen::Matrix,-1,-1>>(N, N); current_statement__ = 2; - cvvec = in__.template read< - Eigen::Matrix,-1,1>>(N); - Eigen::Matrix,1,-1> cvrowvec = - Eigen::Matrix,1,-1>::Constant(N, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); + auto cvvec = + in__.template read< + Eigen::Matrix,-1,1>>(N); current_statement__ = 3; - cvrowvec = in__.template read< - Eigen::Matrix,1,-1>>(N); - std::complex zv = - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN()); + auto cvrowvec = + in__.template read< + Eigen::Matrix,1,-1>>(N); current_statement__ = 4; - zv = in__.template read>(); - Eigen::Matrix vmat = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto zv = in__.template read>(); current_statement__ = 5; - vmat = in__.template read>(N, N); - Eigen::Matrix vvec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto vmat = + in__.template read>(N, N); current_statement__ = 6; - vvec = in__.template read>(N); - Eigen::Matrix vrowvec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto vvec = in__.template read>(N); current_statement__ = 7; - vrowvec = in__.template read>(N); - double v = std::numeric_limits::quiet_NaN(); + auto vrowvec = + in__.template read>(N); current_statement__ = 8; - v = in__.template read(); + auto v = in__.template read(); Eigen::Matrix,-1,-1> tp_c_matrix = Eigen::Matrix,-1,-1>::Constant(N, N, std::complex(std::numeric_limits::quiet_NaN(), @@ -8208,29 +8116,17 @@ class complex_scalar_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ p_r = DUMMY_VAR__; current_statement__ = 1; - p_r = in__.template read(); - std::complex p_complex = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto p_r = in__.template read(); current_statement__ = 2; - p_complex = in__.template read>(); - std::vector> p_complex_array = - std::vector>(2, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto p_complex = in__.template read>(); current_statement__ = 3; - p_complex_array = in__.template read< - std::vector>>(2); - std::vector>> - p_complex_array_2d = - std::vector>>(2, - std::vector>(3, - std::complex(DUMMY_VAR__, DUMMY_VAR__))); + auto p_complex_array = + in__.template read>>(2); current_statement__ = 4; - p_complex_array_2d = in__.template read< - std::vector< - std::vector>>>(2, - 3); + auto p_complex_array_2d = + in__.template read< + std::vector>>>(2, 3); local_scalar_t__ tp_r = DUMMY_VAR__; current_statement__ = 5; tp_r = 1.1; @@ -8469,29 +8365,17 @@ class complex_scalar_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ p_r = DUMMY_VAR__; current_statement__ = 1; - p_r = in__.template read(); - std::complex p_complex = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto p_r = in__.template read(); current_statement__ = 2; - p_complex = in__.template read>(); - std::vector> p_complex_array = - std::vector>(2, - std::complex(DUMMY_VAR__, DUMMY_VAR__)); + auto p_complex = in__.template read>(); current_statement__ = 3; - p_complex_array = in__.template read< - std::vector>>(2); - std::vector>> - p_complex_array_2d = - std::vector>>(2, - std::vector>(3, - std::complex(DUMMY_VAR__, DUMMY_VAR__))); + auto p_complex_array = + in__.template read>>(2); current_statement__ = 4; - p_complex_array_2d = in__.template read< - std::vector< - std::vector>>>(2, - 3); + auto p_complex_array_2d = + in__.template read< + std::vector>>>(2, 3); local_scalar_t__ tp_r = DUMMY_VAR__; current_statement__ = 5; tp_r = 1.1; @@ -8741,31 +8625,17 @@ class complex_scalar_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double p_r = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - p_r = in__.template read(); - std::complex p_complex = - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN()); + auto p_r = in__.template read(); current_statement__ = 2; - p_complex = in__.template read>(); - std::vector> p_complex_array = - std::vector>(2, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN())); + auto p_complex = in__.template read>(); current_statement__ = 3; - p_complex_array = in__.template read< - std::vector>>(2); - std::vector>> p_complex_array_2d = - std::vector>>(2, - std::vector>(3, - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN()))); + auto p_complex_array = + in__.template read>>(2); current_statement__ = 4; - p_complex_array_2d = in__.template read< - std::vector< - std::vector>>>(2, - 3); + auto p_complex_array_2d = + in__.template read< + std::vector>>>(2, 3); double tp_r = std::numeric_limits::quiet_NaN(); std::complex tp_complex = std::complex(std::numeric_limits::quiet_NaN(), diff --git a/test/integration/good/code-gen/cpp.expected b/test/integration/good/code-gen/cpp.expected index 04b256c34..e6e687a40 100644 --- a/test/integration/good/code-gen/cpp.expected +++ b/test/integration/good/code-gen/cpp.expected @@ -114,18 +114,15 @@ class _8_schools_ncp_model final : public model_base_crtp<_8_schools_ncp_model> // suppress unused var warning (void) function__; try { - local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 1; - mu = in__.template read(); - local_scalar_t__ tau = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, DUMMY_VAR__); current_statement__ = 4; @@ -172,18 +169,15 @@ class _8_schools_ncp_model final : public model_base_crtp<_8_schools_ncp_model> // suppress unused var warning (void) function__; try { - local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 1; - mu = in__.template read(); - local_scalar_t__ tau = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, DUMMY_VAR__); current_statement__ = 4; @@ -241,19 +235,15 @@ class _8_schools_ncp_model final : public model_base_crtp<_8_schools_ncp_model> // suppress unused var warning (void) function__; try { - double mu = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); - double tau = std::numeric_limits::quiet_NaN(); + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, - std::numeric_limits::quiet_NaN()); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, std::numeric_limits::quiet_NaN()); @@ -605,9 +595,8 @@ class _8start_with_number_model final : public model_base_crtp<_8start_with_numb // suppress unused var warning (void) function__; try { - local_scalar_t__ bar = DUMMY_VAR__; current_statement__ = 1; - bar = in__.template read(); + auto bar = in__.template read(); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -638,9 +627,8 @@ class _8start_with_number_model final : public model_base_crtp<_8start_with_numb // suppress unused var warning (void) function__; try { - local_scalar_t__ bar = DUMMY_VAR__; current_statement__ = 1; - bar = in__.template read(); + auto bar = in__.template read(); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -682,9 +670,8 @@ class _8start_with_number_model final : public model_base_crtp<_8start_with_numb // suppress unused var warning (void) function__; try { - double bar = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - bar = in__.template read(); + auto bar = in__.template read(); out__.write(bar); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -1413,9 +1400,8 @@ class container_promotion_model final : public model_base_crtp(); + auto y = in__.template read(); Eigen::Matrix V = Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 8; @@ -1515,9 +1501,8 @@ class container_promotion_model final : public model_base_crtp(); + auto y = in__.template read(); Eigen::Matrix V = Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 8; @@ -1628,9 +1613,8 @@ class container_promotion_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - y = in__.template read(); + auto y = in__.template read(); Eigen::Matrix V = Eigen::Matrix::Constant(2, std::numeric_limits::quiet_NaN()); @@ -2492,51 +2476,36 @@ class cpp_reserved_words_model final : public model_base_crtp(); - local_scalar_t__ _stan_float = DUMMY_VAR__; + auto _stan_explicit = in__.template read(); current_statement__ = 2; - _stan_float = in__.template read(); - local_scalar_t__ _stan_friend = DUMMY_VAR__; + auto _stan_float = in__.template read(); current_statement__ = 3; - _stan_friend = in__.template read(); - local_scalar_t__ _stan_goto = DUMMY_VAR__; + auto _stan_friend = in__.template read(); current_statement__ = 4; - _stan_goto = in__.template read(); - local_scalar_t__ _stan_inline = DUMMY_VAR__; + auto _stan_goto = in__.template read(); current_statement__ = 5; - _stan_inline = in__.template read(); - local_scalar_t__ _stan_long = DUMMY_VAR__; + auto _stan_inline = in__.template read(); current_statement__ = 6; - _stan_long = in__.template read(); - local_scalar_t__ _stan_mutable = DUMMY_VAR__; + auto _stan_long = in__.template read(); current_statement__ = 7; - _stan_mutable = in__.template read(); - local_scalar_t__ _stan_namespace = DUMMY_VAR__; + auto _stan_mutable = in__.template read(); current_statement__ = 8; - _stan_namespace = in__.template read(); - local_scalar_t__ _stan_new = DUMMY_VAR__; + auto _stan_namespace = in__.template read(); current_statement__ = 9; - _stan_new = in__.template read(); - local_scalar_t__ _stan_noexcept = DUMMY_VAR__; + auto _stan_new = in__.template read(); current_statement__ = 10; - _stan_noexcept = in__.template read(); - local_scalar_t__ _stan_not = DUMMY_VAR__; + auto _stan_noexcept = in__.template read(); current_statement__ = 11; - _stan_not = in__.template read(); - local_scalar_t__ _stan_not_eq = DUMMY_VAR__; + auto _stan_not = in__.template read(); current_statement__ = 12; - _stan_not_eq = in__.template read(); - local_scalar_t__ _stan_nullptr = DUMMY_VAR__; + auto _stan_not_eq = in__.template read(); current_statement__ = 13; - _stan_nullptr = in__.template read(); - local_scalar_t__ _stan_operator = DUMMY_VAR__; + auto _stan_nullptr = in__.template read(); current_statement__ = 14; - _stan_operator = in__.template read(); - local_scalar_t__ _stan_or = DUMMY_VAR__; + auto _stan_operator = in__.template read(); current_statement__ = 15; - _stan_or = in__.template read(); + auto _stan_or = in__.template read(); { local_scalar_t__ _stan_or_eq = DUMMY_VAR__; local_scalar_t__ _stan_private = DUMMY_VAR__; @@ -2584,51 +2553,36 @@ class cpp_reserved_words_model final : public model_base_crtp(); - local_scalar_t__ _stan_float = DUMMY_VAR__; + auto _stan_explicit = in__.template read(); current_statement__ = 2; - _stan_float = in__.template read(); - local_scalar_t__ _stan_friend = DUMMY_VAR__; + auto _stan_float = in__.template read(); current_statement__ = 3; - _stan_friend = in__.template read(); - local_scalar_t__ _stan_goto = DUMMY_VAR__; + auto _stan_friend = in__.template read(); current_statement__ = 4; - _stan_goto = in__.template read(); - local_scalar_t__ _stan_inline = DUMMY_VAR__; + auto _stan_goto = in__.template read(); current_statement__ = 5; - _stan_inline = in__.template read(); - local_scalar_t__ _stan_long = DUMMY_VAR__; + auto _stan_inline = in__.template read(); current_statement__ = 6; - _stan_long = in__.template read(); - local_scalar_t__ _stan_mutable = DUMMY_VAR__; + auto _stan_long = in__.template read(); current_statement__ = 7; - _stan_mutable = in__.template read(); - local_scalar_t__ _stan_namespace = DUMMY_VAR__; + auto _stan_mutable = in__.template read(); current_statement__ = 8; - _stan_namespace = in__.template read(); - local_scalar_t__ _stan_new = DUMMY_VAR__; + auto _stan_namespace = in__.template read(); current_statement__ = 9; - _stan_new = in__.template read(); - local_scalar_t__ _stan_noexcept = DUMMY_VAR__; + auto _stan_new = in__.template read(); current_statement__ = 10; - _stan_noexcept = in__.template read(); - local_scalar_t__ _stan_not = DUMMY_VAR__; + auto _stan_noexcept = in__.template read(); current_statement__ = 11; - _stan_not = in__.template read(); - local_scalar_t__ _stan_not_eq = DUMMY_VAR__; + auto _stan_not = in__.template read(); current_statement__ = 12; - _stan_not_eq = in__.template read(); - local_scalar_t__ _stan_nullptr = DUMMY_VAR__; + auto _stan_not_eq = in__.template read(); current_statement__ = 13; - _stan_nullptr = in__.template read(); - local_scalar_t__ _stan_operator = DUMMY_VAR__; + auto _stan_nullptr = in__.template read(); current_statement__ = 14; - _stan_operator = in__.template read(); - local_scalar_t__ _stan_or = DUMMY_VAR__; + auto _stan_operator = in__.template read(); current_statement__ = 15; - _stan_or = in__.template read(); + auto _stan_or = in__.template read(); { local_scalar_t__ _stan_or_eq = DUMMY_VAR__; local_scalar_t__ _stan_private = DUMMY_VAR__; @@ -2687,51 +2641,36 @@ class cpp_reserved_words_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - _stan_explicit = in__.template read(); - double _stan_float = std::numeric_limits::quiet_NaN(); + auto _stan_explicit = in__.template read(); current_statement__ = 2; - _stan_float = in__.template read(); - double _stan_friend = std::numeric_limits::quiet_NaN(); + auto _stan_float = in__.template read(); current_statement__ = 3; - _stan_friend = in__.template read(); - double _stan_goto = std::numeric_limits::quiet_NaN(); + auto _stan_friend = in__.template read(); current_statement__ = 4; - _stan_goto = in__.template read(); - double _stan_inline = std::numeric_limits::quiet_NaN(); + auto _stan_goto = in__.template read(); current_statement__ = 5; - _stan_inline = in__.template read(); - double _stan_long = std::numeric_limits::quiet_NaN(); + auto _stan_inline = in__.template read(); current_statement__ = 6; - _stan_long = in__.template read(); - double _stan_mutable = std::numeric_limits::quiet_NaN(); + auto _stan_long = in__.template read(); current_statement__ = 7; - _stan_mutable = in__.template read(); - double _stan_namespace = std::numeric_limits::quiet_NaN(); + auto _stan_mutable = in__.template read(); current_statement__ = 8; - _stan_namespace = in__.template read(); - double _stan_new = std::numeric_limits::quiet_NaN(); + auto _stan_namespace = in__.template read(); current_statement__ = 9; - _stan_new = in__.template read(); - double _stan_noexcept = std::numeric_limits::quiet_NaN(); + auto _stan_new = in__.template read(); current_statement__ = 10; - _stan_noexcept = in__.template read(); - double _stan_not = std::numeric_limits::quiet_NaN(); + auto _stan_noexcept = in__.template read(); current_statement__ = 11; - _stan_not = in__.template read(); - double _stan_not_eq = std::numeric_limits::quiet_NaN(); + auto _stan_not = in__.template read(); current_statement__ = 12; - _stan_not_eq = in__.template read(); - double _stan_nullptr = std::numeric_limits::quiet_NaN(); + auto _stan_not_eq = in__.template read(); current_statement__ = 13; - _stan_nullptr = in__.template read(); - double _stan_operator = std::numeric_limits::quiet_NaN(); + auto _stan_nullptr = in__.template read(); current_statement__ = 14; - _stan_operator = in__.template read(); - double _stan_or = std::numeric_limits::quiet_NaN(); + auto _stan_operator = in__.template read(); current_statement__ = 15; - _stan_or = in__.template read(); + auto _stan_or = in__.template read(); out__.write(_stan_explicit); out__.write(_stan_float); out__.write(_stan_friend); @@ -3620,10 +3559,9 @@ class data_only_functions_model final : public model_base_crtp p = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); current_statement__ = 1; - p = in__.template read>(N, N); + auto p = + in__.template read>(N, N); { current_statement__ = 2; lp_accum__.add(baz(d, pstream__)); @@ -3681,10 +3619,9 @@ class data_only_functions_model final : public model_base_crtp p = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); current_statement__ = 1; - p = in__.template read>(N, N); + auto p = + in__.template read>(N, N); { current_statement__ = 2; lp_accum__.add(baz(d, pstream__)); @@ -3753,11 +3690,9 @@ class data_only_functions_model final : public model_base_crtp p = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - p = in__.template read>(N, N); + auto p = + in__.template read>(N, N); out__.write(p); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -4833,18 +4768,15 @@ class eight_schools_ncp_model final : public model_base_crtp(); - local_scalar_t__ tau = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, DUMMY_VAR__); current_statement__ = 4; @@ -4891,18 +4823,15 @@ class eight_schools_ncp_model final : public model_base_crtp(); - local_scalar_t__ tau = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, DUMMY_VAR__); current_statement__ = 4; @@ -4960,19 +4889,15 @@ class eight_schools_ncp_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); - double tau = std::numeric_limits::quiet_NaN(); + auto mu = in__.template read(); current_statement__ = 2; - tau = in__.template read_constrain_lb(0, - lp__); - Eigen::Matrix theta_tilde = - Eigen::Matrix::Constant(J, - std::numeric_limits::quiet_NaN()); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - theta_tilde = in__.template read< - Eigen::Matrix>(J); + auto theta_tilde = + in__.template read>(J); Eigen::Matrix theta = Eigen::Matrix::Constant(J, std::numeric_limits::quiet_NaN()); @@ -5847,16 +5772,13 @@ class jacobian_pe_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ b_raw = DUMMY_VAR__; current_statement__ = 1; - b_raw = in__.template read(); - Eigen::Matrix b_vec_raw = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto b_raw = in__.template read(); current_statement__ = 2; - b_vec_raw = in__.template read>(N); - local_scalar_t__ b_direct_raw = DUMMY_VAR__; + auto b_vec_raw = + in__.template read>(N); current_statement__ = 3; - b_direct_raw = in__.template read(); + auto b_direct_raw = in__.template read(); local_scalar_t__ b = DUMMY_VAR__; current_statement__ = 4; b = upper_bound_jacobian(b_raw, ub, lp__, lp_accum__, @@ -5904,16 +5826,13 @@ class jacobian_pe_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ b_raw = DUMMY_VAR__; current_statement__ = 1; - b_raw = in__.template read(); - Eigen::Matrix b_vec_raw = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto b_raw = in__.template read(); current_statement__ = 2; - b_vec_raw = in__.template read>(N); - local_scalar_t__ b_direct_raw = DUMMY_VAR__; + auto b_vec_raw = + in__.template read>(N); current_statement__ = 3; - b_direct_raw = in__.template read(); + auto b_direct_raw = in__.template read(); local_scalar_t__ b = DUMMY_VAR__; current_statement__ = 4; b = upper_bound_jacobian(b_raw, ub, lp__, lp_accum__, @@ -5972,17 +5891,13 @@ class jacobian_pe_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double b_raw = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - b_raw = in__.template read(); - Eigen::Matrix b_vec_raw = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto b_raw = in__.template read(); current_statement__ = 2; - b_vec_raw = in__.template read>(N); - double b_direct_raw = std::numeric_limits::quiet_NaN(); + auto b_vec_raw = + in__.template read>(N); current_statement__ = 3; - b_direct_raw = in__.template read(); + auto b_direct_raw = in__.template read(); double b = std::numeric_limits::quiet_NaN(); Eigen::Matrix bvec = Eigen::Matrix::Constant(N, @@ -6354,10 +6269,8 @@ class mixed_type_arrays_model final : public model_base_crtp xx = - std::vector(3, DUMMY_VAR__); current_statement__ = 1; - xx = in__.template read>(3); + auto xx = in__.template read>(3); std::vector> y = std::vector>(3, std::vector(3, DUMMY_VAR__)); @@ -6413,10 +6326,8 @@ class mixed_type_arrays_model final : public model_base_crtp xx = - std::vector(3, DUMMY_VAR__); current_statement__ = 1; - xx = in__.template read>(3); + auto xx = in__.template read>(3); std::vector> y = std::vector>(3, std::vector(3, DUMMY_VAR__)); @@ -6483,10 +6394,8 @@ class mixed_type_arrays_model final : public model_base_crtp xx = - std::vector(3, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - xx = in__.template read>(3); + auto xx = in__.template read>(3); std::vector> y = std::vector>(3, std::vector(3, std::numeric_limits::quiet_NaN())); @@ -12924,168 +12833,104 @@ class mother_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - local_scalar_t__ p_upper = DUMMY_VAR__; + auto p_real = in__.template read(); current_statement__ = 2; - p_upper = in__.template read_constrain_lb(p_real, lp__); - local_scalar_t__ p_lower = DUMMY_VAR__; + auto p_upper = + in__.template read_constrain_lb(p_real, + lp__); current_statement__ = 3; - p_lower = in__.template read_constrain_ub(p_upper, lp__); - std::vector offset_multiplier = - std::vector(5, DUMMY_VAR__); + auto p_lower = + in__.template read_constrain_ub(p_upper, lp__); current_statement__ = 4; - offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(1, 2, - lp__, 5); - std::vector no_offset_multiplier = - std::vector(5, DUMMY_VAR__); + auto offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(1, 2, lp__, 5); current_statement__ = 5; - no_offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - 2, lp__, 5); - std::vector offset_no_multiplier = - std::vector(5, DUMMY_VAR__); + auto no_offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, 2, lp__, 5); current_statement__ = 6; - offset_no_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(3, - 1, lp__, 5); - std::vector p_real_1d_ar = - std::vector(N, DUMMY_VAR__); + auto offset_no_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(3, 1, lp__, 5); current_statement__ = 7; - p_real_1d_ar = in__.template read_constrain_lb< - std::vector, jacobian__>(0, lp__, N); - std::vector>> p_real_3d_ar = - std::vector>>(N, - std::vector>(M, - std::vector(K, DUMMY_VAR__))); + auto p_real_1d_ar = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 8; - p_real_3d_ar = in__.template read_constrain_lb< - std::vector< - std::vector>>, - jacobian__>(0, lp__, N, M, K); - Eigen::Matrix p_vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_real_3d_ar = + in__.template read_constrain_lb< + std::vector>>, + jacobian__>(0, lp__, N, M, K); current_statement__ = 9; - p_vec = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, N); - std::vector> p_1d_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_vec = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 10; - p_1d_vec = in__.template read< - std::vector>>(N, N); - std::vector< - std::vector>>> - p_3d_vec = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 11; - p_3d_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_row_vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_3d_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 12; - p_row_vec = in__.template read>(N); - std::vector> p_1d_row_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_row_vec = + in__.template read>(N); current_statement__ = 13; - p_1d_row_vec = in__.template read< - std::vector>>(N, - N); - std::vector< - std::vector>>> - p_3d_row_vec = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_row_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 14; - p_3d_row_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_mat = - Eigen::Matrix::Constant(5, 4, DUMMY_VAR__); + auto p_3d_row_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 15; - p_mat = in__.template read>(5, 4); - std::vector>> - p_ar_mat = - std::vector>>(4, - std::vector>(5, - Eigen::Matrix::Constant(2, 3, - DUMMY_VAR__))); + auto p_mat = + in__.template read>(5, 4); current_statement__ = 16; - p_ar_mat = in__.template read_constrain_lub< - std::vector< - std::vector>>, - jacobian__>(0, 1, lp__, 4, 5, 2, 3); - Eigen::Matrix p_simplex = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_ar_mat = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, 1, lp__, 4, 5, 2, 3); current_statement__ = 17; - p_simplex = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, - N); - std::vector> p_1d_simplex = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_simplex = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 18; - p_1d_simplex = in__.template read_constrain_simplex< - std::vector>, - jacobian__>(lp__, N, N); - std::vector< - std::vector>>> - p_3d_simplex = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_simplex = + in__.template read_constrain_simplex< + std::vector>, + jacobian__>(lp__, N, N); current_statement__ = 19; - p_3d_simplex = in__.template read_constrain_simplex< - std::vector< - std::vector< - std::vector>>>, - jacobian__>(lp__, N, M, K, N); - Eigen::Matrix p_cfcov_54 = - Eigen::Matrix::Constant(5, 4, DUMMY_VAR__); + auto p_3d_simplex = + in__.template read_constrain_simplex< + std::vector< + std::vector>>>, + jacobian__>(lp__, N, M, K, N); current_statement__ = 20; - p_cfcov_54 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 5, 4); - Eigen::Matrix p_cfcov_33 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto p_cfcov_54 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 5, 4); current_statement__ = 21; - p_cfcov_33 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 3, 3); - std::vector> p_cfcov_33_ar = - std::vector>(K, - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__)); + auto p_cfcov_33 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 3, 3); current_statement__ = 22; - p_cfcov_33_ar = in__.template read_constrain_cholesky_factor_cov< - std::vector>, - jacobian__>(lp__, K, 3, 3); - Eigen::Matrix x_p = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto p_cfcov_33_ar = + in__.template read_constrain_cholesky_factor_cov< + std::vector>, + jacobian__>(lp__, K, 3, 3); current_statement__ = 23; - x_p = in__.template read>(2); - Eigen::Matrix y_p = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_p = in__.template read>(2); current_statement__ = 24; - y_p = in__.template read>(2); + auto y_p = in__.template read>(2); std::vector tp_real_1d_ar = std::vector(N, DUMMY_VAR__); std::vector>> tp_real_3d_ar = @@ -13447,168 +13292,104 @@ class mother_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - local_scalar_t__ p_upper = DUMMY_VAR__; + auto p_real = in__.template read(); current_statement__ = 2; - p_upper = in__.template read_constrain_lb(p_real, lp__); - local_scalar_t__ p_lower = DUMMY_VAR__; + auto p_upper = + in__.template read_constrain_lb(p_real, + lp__); current_statement__ = 3; - p_lower = in__.template read_constrain_ub(p_upper, lp__); - std::vector offset_multiplier = - std::vector(5, DUMMY_VAR__); + auto p_lower = + in__.template read_constrain_ub(p_upper, lp__); current_statement__ = 4; - offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(1, 2, - lp__, 5); - std::vector no_offset_multiplier = - std::vector(5, DUMMY_VAR__); + auto offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(1, 2, lp__, 5); current_statement__ = 5; - no_offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - 2, lp__, 5); - std::vector offset_no_multiplier = - std::vector(5, DUMMY_VAR__); + auto no_offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, 2, lp__, 5); current_statement__ = 6; - offset_no_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(3, - 1, lp__, 5); - std::vector p_real_1d_ar = - std::vector(N, DUMMY_VAR__); + auto offset_no_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(3, 1, lp__, 5); current_statement__ = 7; - p_real_1d_ar = in__.template read_constrain_lb< - std::vector, jacobian__>(0, lp__, N); - std::vector>> p_real_3d_ar = - std::vector>>(N, - std::vector>(M, - std::vector(K, DUMMY_VAR__))); + auto p_real_1d_ar = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 8; - p_real_3d_ar = in__.template read_constrain_lb< - std::vector< - std::vector>>, - jacobian__>(0, lp__, N, M, K); - Eigen::Matrix p_vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_real_3d_ar = + in__.template read_constrain_lb< + std::vector>>, + jacobian__>(0, lp__, N, M, K); current_statement__ = 9; - p_vec = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, N); - std::vector> p_1d_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_vec = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 10; - p_1d_vec = in__.template read< - std::vector>>(N, N); - std::vector< - std::vector>>> - p_3d_vec = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 11; - p_3d_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_row_vec = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_3d_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 12; - p_row_vec = in__.template read>(N); - std::vector> p_1d_row_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_row_vec = + in__.template read>(N); current_statement__ = 13; - p_1d_row_vec = in__.template read< - std::vector>>(N, - N); - std::vector< - std::vector>>> - p_3d_row_vec = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_row_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 14; - p_3d_row_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_mat = - Eigen::Matrix::Constant(5, 4, DUMMY_VAR__); + auto p_3d_row_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 15; - p_mat = in__.template read>(5, 4); - std::vector>> - p_ar_mat = - std::vector>>(4, - std::vector>(5, - Eigen::Matrix::Constant(2, 3, - DUMMY_VAR__))); + auto p_mat = + in__.template read>(5, 4); current_statement__ = 16; - p_ar_mat = in__.template read_constrain_lub< - std::vector< - std::vector>>, - jacobian__>(0, 1, lp__, 4, 5, 2, 3); - Eigen::Matrix p_simplex = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_ar_mat = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, 1, lp__, 4, 5, 2, 3); current_statement__ = 17; - p_simplex = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, - N); - std::vector> p_1d_simplex = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_simplex = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 18; - p_1d_simplex = in__.template read_constrain_simplex< - std::vector>, - jacobian__>(lp__, N, N); - std::vector< - std::vector>>> - p_3d_simplex = - std::vector< - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, DUMMY_VAR__)))); + auto p_1d_simplex = + in__.template read_constrain_simplex< + std::vector>, + jacobian__>(lp__, N, N); current_statement__ = 19; - p_3d_simplex = in__.template read_constrain_simplex< - std::vector< - std::vector< - std::vector>>>, - jacobian__>(lp__, N, M, K, N); - Eigen::Matrix p_cfcov_54 = - Eigen::Matrix::Constant(5, 4, DUMMY_VAR__); + auto p_3d_simplex = + in__.template read_constrain_simplex< + std::vector< + std::vector>>>, + jacobian__>(lp__, N, M, K, N); current_statement__ = 20; - p_cfcov_54 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 5, 4); - Eigen::Matrix p_cfcov_33 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto p_cfcov_54 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 5, 4); current_statement__ = 21; - p_cfcov_33 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 3, 3); - std::vector> p_cfcov_33_ar = - std::vector>(K, - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__)); + auto p_cfcov_33 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 3, 3); current_statement__ = 22; - p_cfcov_33_ar = in__.template read_constrain_cholesky_factor_cov< - std::vector>, - jacobian__>(lp__, K, 3, 3); - Eigen::Matrix x_p = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto p_cfcov_33_ar = + in__.template read_constrain_cholesky_factor_cov< + std::vector>, + jacobian__>(lp__, K, 3, 3); current_statement__ = 23; - x_p = in__.template read>(2); - Eigen::Matrix y_p = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_p = in__.template read>(2); current_statement__ = 24; - y_p = in__.template read>(2); + auto y_p = in__.template read>(2); std::vector tp_real_1d_ar = std::vector(N, DUMMY_VAR__); std::vector>> tp_real_3d_ar = @@ -13981,176 +13762,104 @@ class mother_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double p_real = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - p_real = in__.template read(); - double p_upper = std::numeric_limits::quiet_NaN(); + auto p_real = in__.template read(); current_statement__ = 2; - p_upper = in__.template read_constrain_lb(p_real, lp__); - double p_lower = std::numeric_limits::quiet_NaN(); + auto p_upper = + in__.template read_constrain_lb(p_real, + lp__); current_statement__ = 3; - p_lower = in__.template read_constrain_ub(p_upper, lp__); - std::vector offset_multiplier = - std::vector(5, std::numeric_limits::quiet_NaN()); + auto p_lower = + in__.template read_constrain_ub(p_upper, lp__); current_statement__ = 4; - offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(1, 2, - lp__, 5); - std::vector no_offset_multiplier = - std::vector(5, std::numeric_limits::quiet_NaN()); + auto offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(1, 2, lp__, 5); current_statement__ = 5; - no_offset_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - 2, lp__, 5); - std::vector offset_no_multiplier = - std::vector(5, std::numeric_limits::quiet_NaN()); + auto no_offset_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, 2, lp__, 5); current_statement__ = 6; - offset_no_multiplier = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(3, - 1, lp__, 5); - std::vector p_real_1d_ar = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto offset_no_multiplier = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(3, 1, lp__, 5); current_statement__ = 7; - p_real_1d_ar = in__.template read_constrain_lb< - std::vector, jacobian__>(0, lp__, N); - std::vector>> p_real_3d_ar = - std::vector>>(N, - std::vector>(M, - std::vector(K, std::numeric_limits::quiet_NaN()))); + auto p_real_1d_ar = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 8; - p_real_3d_ar = in__.template read_constrain_lb< - std::vector< - std::vector>>, - jacobian__>(0, lp__, N, M, K); - Eigen::Matrix p_vec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_real_3d_ar = + in__.template read_constrain_lb< + std::vector>>, + jacobian__>(0, lp__, N, M, K); current_statement__ = 9; - p_vec = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, N); - std::vector> p_1d_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto p_vec = + in__.template read_constrain_lb, + jacobian__>(0, lp__, N); current_statement__ = 10; - p_1d_vec = in__.template read< - std::vector>>(N, N); - std::vector>>> - p_3d_vec = - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())))); + auto p_1d_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 11; - p_3d_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_row_vec = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_3d_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 12; - p_row_vec = in__.template read>(N); - std::vector> p_1d_row_vec = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto p_row_vec = + in__.template read>(N); current_statement__ = 13; - p_1d_row_vec = in__.template read< - std::vector>>(N, - N); - std::vector>>> - p_3d_row_vec = - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())))); + auto p_1d_row_vec = + in__.template read< + std::vector>>(N, N); current_statement__ = 14; - p_3d_row_vec = in__.template read< - std::vector< - std::vector< - std::vector>>>>(N, - M, K, N); - Eigen::Matrix p_mat = - Eigen::Matrix::Constant(5, 4, - std::numeric_limits::quiet_NaN()); + auto p_3d_row_vec = + in__.template read< + std::vector< + std::vector>>>>(N, + M, K, N); current_statement__ = 15; - p_mat = in__.template read>(5, 4); - std::vector>> p_ar_mat = - std::vector>>(4, - std::vector>(5, - Eigen::Matrix::Constant(2, 3, - std::numeric_limits::quiet_NaN()))); + auto p_mat = + in__.template read>(5, 4); current_statement__ = 16; - p_ar_mat = in__.template read_constrain_lub< - std::vector< - std::vector>>, - jacobian__>(0, 1, lp__, 4, 5, 2, 3); - Eigen::Matrix p_simplex = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_ar_mat = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, 1, lp__, 4, 5, 2, 3); current_statement__ = 17; - p_simplex = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, - N); - std::vector> p_1d_simplex = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto p_simplex = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 18; - p_1d_simplex = in__.template read_constrain_simplex< - std::vector>, - jacobian__>(lp__, N, N); - std::vector>>> - p_3d_simplex = - std::vector>>>(N, - std::vector>>(M, - std::vector>(K, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())))); + auto p_1d_simplex = + in__.template read_constrain_simplex< + std::vector>, + jacobian__>(lp__, N, N); current_statement__ = 19; - p_3d_simplex = in__.template read_constrain_simplex< - std::vector< - std::vector< - std::vector>>>, - jacobian__>(lp__, N, M, K, N); - Eigen::Matrix p_cfcov_54 = - Eigen::Matrix::Constant(5, 4, - std::numeric_limits::quiet_NaN()); + auto p_3d_simplex = + in__.template read_constrain_simplex< + std::vector< + std::vector>>>, + jacobian__>(lp__, N, M, K, N); current_statement__ = 20; - p_cfcov_54 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 5, 4); - Eigen::Matrix p_cfcov_33 = - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN()); + auto p_cfcov_54 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 5, 4); current_statement__ = 21; - p_cfcov_33 = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, jacobian__>(lp__, - 3, 3); - std::vector> p_cfcov_33_ar = - std::vector>(K, - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN())); + auto p_cfcov_33 = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, 3, 3); current_statement__ = 22; - p_cfcov_33_ar = in__.template read_constrain_cholesky_factor_cov< - std::vector>, - jacobian__>(lp__, K, 3, 3); - Eigen::Matrix x_p = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto p_cfcov_33_ar = + in__.template read_constrain_cholesky_factor_cov< + std::vector>, + jacobian__>(lp__, K, 3, 3); current_statement__ = 23; - x_p = in__.template read>(2); - Eigen::Matrix y_p = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto x_p = in__.template read>(2); current_statement__ = 24; - y_p = in__.template read>(2); + auto y_p = in__.template read>(2); std::vector tp_real_1d_ar = std::vector(N, std::numeric_limits::quiet_NaN()); std::vector>> tp_real_3d_ar = @@ -17913,37 +17622,24 @@ class motherHOF_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y0_p = - std::vector(2, DUMMY_VAR__); current_statement__ = 1; - y0_p = in__.template read>(2); - std::vector theta_p = - std::vector(1, DUMMY_VAR__); + auto y0_p = in__.template read>(2); current_statement__ = 2; - theta_p = in__.template read>(1); - std::vector x_p = - std::vector(1, DUMMY_VAR__); + auto theta_p = in__.template read>(1); current_statement__ = 3; - x_p = in__.template read>(1); - Eigen::Matrix x_p_v = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_p = in__.template read>(1); current_statement__ = 4; - x_p_v = in__.template read>(2); - Eigen::Matrix shared_params_p = - Eigen::Matrix::Constant(3, DUMMY_VAR__); + auto x_p_v = + in__.template read>(2); current_statement__ = 5; - shared_params_p = in__.template read< - Eigen::Matrix>(3); - std::vector> job_params_p = - std::vector>(3, - Eigen::Matrix::Constant(3, DUMMY_VAR__)); + auto shared_params_p = + in__.template read>(3); current_statement__ = 6; - job_params_p = in__.template read< - std::vector>>(3, - 3); - local_scalar_t__ x_r = DUMMY_VAR__; + auto job_params_p = + in__.template read< + std::vector>>(3, 3); current_statement__ = 7; - x_r = in__.template read(); + auto x_r = in__.template read(); local_scalar_t__ abc1_p = DUMMY_VAR__; current_statement__ = 8; abc1_p = 3; @@ -18240,37 +17936,24 @@ class motherHOF_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y0_p = - std::vector(2, DUMMY_VAR__); current_statement__ = 1; - y0_p = in__.template read>(2); - std::vector theta_p = - std::vector(1, DUMMY_VAR__); + auto y0_p = in__.template read>(2); current_statement__ = 2; - theta_p = in__.template read>(1); - std::vector x_p = - std::vector(1, DUMMY_VAR__); + auto theta_p = in__.template read>(1); current_statement__ = 3; - x_p = in__.template read>(1); - Eigen::Matrix x_p_v = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_p = in__.template read>(1); current_statement__ = 4; - x_p_v = in__.template read>(2); - Eigen::Matrix shared_params_p = - Eigen::Matrix::Constant(3, DUMMY_VAR__); + auto x_p_v = + in__.template read>(2); current_statement__ = 5; - shared_params_p = in__.template read< - Eigen::Matrix>(3); - std::vector> job_params_p = - std::vector>(3, - Eigen::Matrix::Constant(3, DUMMY_VAR__)); + auto shared_params_p = + in__.template read>(3); current_statement__ = 6; - job_params_p = in__.template read< - std::vector>>(3, - 3); - local_scalar_t__ x_r = DUMMY_VAR__; + auto job_params_p = + in__.template read< + std::vector>>(3, 3); current_statement__ = 7; - x_r = in__.template read(); + auto x_r = in__.template read(); local_scalar_t__ abc1_p = DUMMY_VAR__; current_statement__ = 8; abc1_p = 3; @@ -18575,40 +18258,24 @@ class motherHOF_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y0_p = - std::vector(2, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - y0_p = in__.template read>(2); - std::vector theta_p = - std::vector(1, std::numeric_limits::quiet_NaN()); + auto y0_p = in__.template read>(2); current_statement__ = 2; - theta_p = in__.template read>(1); - std::vector x_p = - std::vector(1, std::numeric_limits::quiet_NaN()); + auto theta_p = in__.template read>(1); current_statement__ = 3; - x_p = in__.template read>(1); - Eigen::Matrix x_p_v = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto x_p = in__.template read>(1); current_statement__ = 4; - x_p_v = in__.template read>(2); - Eigen::Matrix shared_params_p = - Eigen::Matrix::Constant(3, - std::numeric_limits::quiet_NaN()); + auto x_p_v = + in__.template read>(2); current_statement__ = 5; - shared_params_p = in__.template read< - Eigen::Matrix>(3); - std::vector> job_params_p = - std::vector>(3, - Eigen::Matrix::Constant(3, - std::numeric_limits::quiet_NaN())); + auto shared_params_p = + in__.template read>(3); current_statement__ = 6; - job_params_p = in__.template read< - std::vector>>(3, - 3); - double x_r = std::numeric_limits::quiet_NaN(); + auto job_params_p = + in__.template read< + std::vector>>(3, 3); current_statement__ = 7; - x_r = in__.template read(); + auto x_r = in__.template read(); double abc1_p = std::numeric_limits::quiet_NaN(); double abc2_p = std::numeric_limits::quiet_NaN(); double abc3_p = std::numeric_limits::quiet_NaN(); @@ -20544,17 +20211,12 @@ class new_integrate_interface_model final : public model_base_crtp(); - std::vector ra = - std::vector(N, DUMMY_VAR__); + auto r = in__.template read(); current_statement__ = 2; - ra = in__.template read>(N); - Eigen::Matrix v = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto ra = in__.template read>(N); current_statement__ = 3; - v = in__.template read>(N); + auto v = in__.template read>(N); std::vector> z = std::vector>(N, Eigen::Matrix::Constant(N, DUMMY_VAR__)); @@ -22195,17 +21857,12 @@ class new_integrate_interface_model final : public model_base_crtp(); - std::vector ra = - std::vector(N, DUMMY_VAR__); + auto r = in__.template read(); current_statement__ = 2; - ra = in__.template read>(N); - Eigen::Matrix v = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto ra = in__.template read>(N); current_statement__ = 3; - v = in__.template read>(N); + auto v = in__.template read>(N); std::vector> z = std::vector>(N, Eigen::Matrix::Constant(N, DUMMY_VAR__)); @@ -23857,18 +23514,12 @@ class new_integrate_interface_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - r = in__.template read(); - std::vector ra = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto r = in__.template read(); current_statement__ = 2; - ra = in__.template read>(N); - Eigen::Matrix v = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto ra = in__.template read>(N); current_statement__ = 3; - v = in__.template read>(N); + auto v = in__.template read>(N); std::vector> z = std::vector>(N, Eigen::Matrix::Constant(N, @@ -26074,32 +25725,30 @@ class old_integrate_interface_model final : public model_base_crtp(0, lp__); - local_scalar_t__ beta = DUMMY_VAR__; + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); - std::vector z_init = - std::vector(2, DUMMY_VAR__); + auto delta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - z_init = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto z_init = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 6; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); std::vector> z = std::vector>(N, std::vector(2, DUMMY_VAR__)); @@ -26178,32 +25827,30 @@ class old_integrate_interface_model final : public model_base_crtp(0, lp__); - local_scalar_t__ beta = DUMMY_VAR__; + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); - std::vector z_init = - std::vector(2, DUMMY_VAR__); + auto delta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - z_init = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto z_init = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 6; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); std::vector> z = std::vector>(N, std::vector(2, DUMMY_VAR__)); @@ -26293,32 +25940,30 @@ class old_integrate_interface_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - alpha = in__.template read_constrain_lb(0, lp__); - double beta = std::numeric_limits::quiet_NaN(); + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lb(0, - lp__); - double gamma = std::numeric_limits::quiet_NaN(); + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lb(0, lp__); - double delta = std::numeric_limits::quiet_NaN(); + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); - std::vector z_init = - std::vector(2, std::numeric_limits::quiet_NaN()); + auto delta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - z_init = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - std::vector sigma = - std::vector(2, std::numeric_limits::quiet_NaN()); + auto z_init = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 6; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); std::vector> z = std::vector>(N, std::vector(2, std::numeric_limits::quiet_NaN())); @@ -27160,41 +26805,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - local_scalar_t__ sigma = DUMMY_VAR__; + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, DUMMY_VAR__); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); { current_statement__ = 10; lp_accum__.add(stan::math::normal_id_glm_lpdf(y_v_d, X_d, @@ -27727,41 +27361,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, DUMMY_VAR__); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - local_scalar_t__ sigma = DUMMY_VAR__; + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, DUMMY_VAR__); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, DUMMY_VAR__); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); { current_statement__ = 10; lp_accum__.add(stan::math::normal_id_glm_lpdf(y_v_d, X_d, @@ -28305,47 +27928,30 @@ class optimize_glm_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix alpha_v = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - alpha_v = in__.template read>(k); - Eigen::Matrix beta = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); + auto alpha_v = + in__.template read>(k); current_statement__ = 2; - beta = in__.template read>(k); - Eigen::Matrix cuts = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); + auto beta = in__.template read>(k); current_statement__ = 3; - cuts = in__.template read>(k); - double sigma = std::numeric_limits::quiet_NaN(); + auto cuts = in__.template read>(k); current_statement__ = 4; - sigma = in__.template read_constrain_lb(0, lp__); - double alpha = std::numeric_limits::quiet_NaN(); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - alpha = in__.template read(); - double phi = std::numeric_limits::quiet_NaN(); + auto alpha = in__.template read(); current_statement__ = 6; - phi = in__.template read(); - Eigen::Matrix X_p = - Eigen::Matrix::Constant(n, k, - std::numeric_limits::quiet_NaN()); + auto phi = in__.template read(); current_statement__ = 7; - X_p = in__.template read>(n, k); - Eigen::Matrix beta_m = - Eigen::Matrix::Constant(n, k, - std::numeric_limits::quiet_NaN()); + auto X_p = + in__.template read>(n, k); current_statement__ = 8; - beta_m = in__.template read>(n, - k); - Eigen::Matrix X_rv_p = - Eigen::Matrix::Constant(n, - std::numeric_limits::quiet_NaN()); + auto beta_m = + in__.template read>(n, k); current_statement__ = 9; - X_rv_p = in__.template read>(n); + auto X_rv_p = + in__.template read>(n); out__.write(alpha_v); out__.write(beta); out__.write(cuts); @@ -29260,12 +28866,10 @@ class overloading_templating_model final : public model_base_crtp(); - local_scalar_t__ z = DUMMY_VAR__; + auto y = in__.template read(); current_statement__ = 2; - z = in__.template read(); + auto z = in__.template read(); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(y, @@ -29343,12 +28947,10 @@ class overloading_templating_model final : public model_base_crtp(); - local_scalar_t__ z = DUMMY_VAR__; + auto y = in__.template read(); current_statement__ = 2; - z = in__.template read(); + auto z = in__.template read(); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(y, @@ -29437,12 +29039,10 @@ class overloading_templating_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - y = in__.template read(); - double z = std::numeric_limits::quiet_NaN(); + auto y = in__.template read(); current_statement__ = 2; - z = in__.template read(); + auto z = in__.template read(); out__.write(y); out__.write(z); if (stan::math::logical_negation( @@ -29744,22 +29344,17 @@ class param_constraint_model final : public model_base_crtp> L_Omega = - std::vector>(nt, - Eigen::Matrix::Constant(2, 2, DUMMY_VAR__)); current_statement__ = 1; - L_Omega = in__.template read_constrain_cholesky_factor_corr< - std::vector>, - jacobian__>(lp__, nt, 2); - Eigen::Matrix z1 = - Eigen::Matrix::Constant(NS, DUMMY_VAR__); + auto L_Omega = + in__.template read_constrain_cholesky_factor_corr< + std::vector>, + jacobian__>(lp__, nt, 2); current_statement__ = 2; - z1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", - stan::model::index_uni(1), - stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, NS); + auto z1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", + stan::model::index_uni(1), stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, NS); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -29790,22 +29385,17 @@ class param_constraint_model final : public model_base_crtp> L_Omega = - std::vector>(nt, - Eigen::Matrix::Constant(2, 2, DUMMY_VAR__)); current_statement__ = 1; - L_Omega = in__.template read_constrain_cholesky_factor_corr< - std::vector>, - jacobian__>(lp__, nt, 2); - Eigen::Matrix z1 = - Eigen::Matrix::Constant(NS, DUMMY_VAR__); + auto L_Omega = + in__.template read_constrain_cholesky_factor_corr< + std::vector>, + jacobian__>(lp__, nt, 2); current_statement__ = 2; - z1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", - stan::model::index_uni(1), - stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, NS); + auto z1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", + stan::model::index_uni(1), stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, NS); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -29847,24 +29437,17 @@ class param_constraint_model final : public model_base_crtp> L_Omega = - std::vector>(nt, - Eigen::Matrix::Constant(2, 2, - std::numeric_limits::quiet_NaN())); current_statement__ = 1; - L_Omega = in__.template read_constrain_cholesky_factor_corr< - std::vector>, - jacobian__>(lp__, nt, 2); - Eigen::Matrix z1 = - Eigen::Matrix::Constant(NS, - std::numeric_limits::quiet_NaN()); + auto L_Omega = + in__.template read_constrain_cholesky_factor_corr< + std::vector>, + jacobian__>(lp__, nt, 2); current_statement__ = 2; - z1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", - stan::model::index_uni(1), - stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, NS); + auto z1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(L_Omega, "L_Omega", + stan::model::index_uni(1), stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, NS); current_statement__ = 1; for (int sym1__ = 1; sym1__ <= 2; ++sym1__) { for (int sym2__ = 1; sym2__ <= 2; ++sym2__) { @@ -31399,10 +30982,9 @@ class recursive_slicing_model final : public model_base_crtp gamma = - Eigen::Matrix::Constant(times, DUMMY_VAR__); current_statement__ = 1; - gamma = in__.template read>(times); + auto gamma = + in__.template read>(times); Eigen::Matrix z_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 2; @@ -31444,10 +31026,9 @@ class recursive_slicing_model final : public model_base_crtp gamma = - Eigen::Matrix::Constant(times, DUMMY_VAR__); current_statement__ = 1; - gamma = in__.template read>(times); + auto gamma = + in__.template read>(times); Eigen::Matrix z_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 2; @@ -31500,11 +31081,9 @@ class recursive_slicing_model final : public model_base_crtp gamma = - Eigen::Matrix::Constant(times, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - gamma = in__.template read>(times); + auto gamma = + in__.template read>(times); Eigen::Matrix z_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -32058,18 +31637,12 @@ class reduce_sum_m1_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector y2 = - std::vector(N, DUMMY_VAR__); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read>(N); - std::vector y3 = - std::vector(N, DUMMY_VAR__); + auto y2 = in__.template read>(N); current_statement__ = 3; - y3 = in__.template read>(N); + auto y3 = in__.template read>(N); { current_statement__ = 4; lp_accum__.add(stan::math::reduce_sum(y1, 1, pstream__)); @@ -32113,18 +31686,12 @@ class reduce_sum_m1_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector y2 = - std::vector(N, DUMMY_VAR__); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read>(N); - std::vector y3 = - std::vector(N, DUMMY_VAR__); + auto y2 = in__.template read>(N); current_statement__ = 3; - y3 = in__.template read>(N); + auto y3 = in__.template read>(N); { current_statement__ = 4; lp_accum__.add(stan::math::reduce_sum(y1, 1, pstream__)); @@ -32179,18 +31746,12 @@ class reduce_sum_m1_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector y2 = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read>(N); - std::vector y3 = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto y2 = in__.template read>(N); current_statement__ = 3; - y3 = in__.template read>(N); + auto y3 = in__.template read>(N); out__.write(y1); out__.write(y2); out__.write(y3); @@ -33964,112 +33525,70 @@ class reduce_sum_m2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector>> a8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); current_statement__ = 1; - a8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> a7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto a8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 2; - a7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> a6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto a7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 3; - a6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> a5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto a6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 4; - a5 = in__.template read>>(N, - N); - std::vector> a4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto a5 = + in__.template read>>(N, N); current_statement__ = 5; - a4 = in__.template read< - std::vector>>(N, N, N); - std::vector> a3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto a4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 6; - a3 = in__.template read< - std::vector>>(N, N); - std::vector> a2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto a3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 7; - a2 = in__.template read< - std::vector>>(N, N); - std::vector a1 = - std::vector(N, DUMMY_VAR__); + auto a2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 8; - a1 = in__.template read>(N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); + auto a1 = in__.template read>(N); current_statement__ = 9; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 10; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 11; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 12; - y5 = in__.template read>>(N, - N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto y5 = + in__.template read>>(N, N); current_statement__ = 13; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 14; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 15; - y2 = in__.template read< - std::vector>>(N, N); - std::vector y1 = - std::vector(N, DUMMY_VAR__); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 16; - y1 = in__.template read>(N); + auto y1 = in__.template read>(N); { current_statement__ = 17; lp_accum__.add(stan::math::reduce_sum(x, 1, @@ -34150,112 +33669,70 @@ class reduce_sum_m2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector>> a8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); current_statement__ = 1; - a8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> a7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto a8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 2; - a7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> a6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto a7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 3; - a6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> a5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto a6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 4; - a5 = in__.template read>>(N, - N); - std::vector> a4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto a5 = + in__.template read>>(N, N); current_statement__ = 5; - a4 = in__.template read< - std::vector>>(N, N, N); - std::vector> a3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto a4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 6; - a3 = in__.template read< - std::vector>>(N, N); - std::vector> a2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto a3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 7; - a2 = in__.template read< - std::vector>>(N, N); - std::vector a1 = - std::vector(N, DUMMY_VAR__); + auto a2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 8; - a1 = in__.template read>(N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); + auto a1 = in__.template read>(N); current_statement__ = 9; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 10; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 11; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 12; - y5 = in__.template read>>(N, - N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto y5 = + in__.template read>>(N, N); current_statement__ = 13; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 14; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 15; - y2 = in__.template read< - std::vector>>(N, N); - std::vector y1 = - std::vector(N, DUMMY_VAR__); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 16; - y1 = in__.template read>(N); + auto y1 = in__.template read>(N); { current_statement__ = 17; lp_accum__.add(stan::math::reduce_sum(x, 1, @@ -34347,122 +33824,70 @@ class reduce_sum_m2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector>> a8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()))); current_statement__ = 1; - a8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> a7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto a8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 2; - a7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> a6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto a7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 3; - a6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> a5 = - std::vector>(N, - std::vector(N, std::numeric_limits::quiet_NaN())); + auto a6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 4; - a5 = in__.template read>>(N, - N); - std::vector> a4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN())); + auto a5 = + in__.template read>>(N, N); current_statement__ = 5; - a4 = in__.template read< - std::vector>>(N, N, N); - std::vector> a3 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto a4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 6; - a3 = in__.template read< - std::vector>>(N, N); - std::vector> a2 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto a3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 7; - a2 = in__.template read< - std::vector>>(N, N); - std::vector a1 = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto a2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 8; - a1 = in__.template read>(N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()))); + auto a1 = in__.template read>(N); current_statement__ = 9; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 10; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 11; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, std::numeric_limits::quiet_NaN())); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 12; - y5 = in__.template read>>(N, - N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN())); + auto y5 = + in__.template read>>(N, N); current_statement__ = 13; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 14; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 15; - y2 = in__.template read< - std::vector>>(N, N); - std::vector y1 = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 16; - y1 = in__.template read>(N); + auto y1 = in__.template read>(N); current_statement__ = 1; for (int sym1__ = 1; sym1__ <= N; ++sym1__) { for (int sym2__ = 1; sym2__ <= N; ++sym2__) { @@ -38762,82 +38187,51 @@ class reduce_sum_m3_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read< - std::vector>>(N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 3; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 4; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 5; - y5 = in__.template read>>(N, - N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y5 = + in__.template read>>(N, N); current_statement__ = 6; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 7; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 8; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - local_scalar_t__ y9 = DUMMY_VAR__; + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 9; - y9 = in__.template read(); - Eigen::Matrix y10 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y9 = in__.template read(); current_statement__ = 10; - y10 = in__.template read>(N); - Eigen::Matrix y11 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y10 = in__.template read>(N); current_statement__ = 11; - y11 = in__.template read>(N); - Eigen::Matrix y12 = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto y11 = in__.template read>(N); current_statement__ = 12; - y12 = in__.template read>(N, N); - std::vector>> y17 = - std::vector>>(N, - std::vector>(N, - std::vector(N, DUMMY_VAR__))); + auto y12 = + in__.template read>(N, N); current_statement__ = 13; - y17 = in__.template read< - std::vector>>>(N, N, - N); + auto y17 = + in__.template read< + std::vector>>>(N, N, N); { local_scalar_t__ t1 = DUMMY_VAR__; current_statement__ = 40; @@ -38954,82 +38348,51 @@ class reduce_sum_m3_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read< - std::vector>>(N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 3; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, DUMMY_VAR__)); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 4; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, DUMMY_VAR__)); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 5; - y5 = in__.template read>>(N, - N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y5 = + in__.template read>>(N, N); current_statement__ = 6; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, DUMMY_VAR__))); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 7; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - DUMMY_VAR__))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 8; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - local_scalar_t__ y9 = DUMMY_VAR__; + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 9; - y9 = in__.template read(); - Eigen::Matrix y10 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y9 = in__.template read(); current_statement__ = 10; - y10 = in__.template read>(N); - Eigen::Matrix y11 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y10 = in__.template read>(N); current_statement__ = 11; - y11 = in__.template read>(N); - Eigen::Matrix y12 = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto y11 = in__.template read>(N); current_statement__ = 12; - y12 = in__.template read>(N, N); - std::vector>> y17 = - std::vector>>(N, - std::vector>(N, - std::vector(N, DUMMY_VAR__))); + auto y12 = + in__.template read>(N, N); current_statement__ = 13; - y17 = in__.template read< - std::vector>>>(N, N, - N); + auto y17 = + in__.template read< + std::vector>>>(N, N, N); { local_scalar_t__ t1 = DUMMY_VAR__; current_statement__ = 40; @@ -39157,90 +38520,51 @@ class reduce_sum_m3_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector y1 = - std::vector(N, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - y1 = in__.template read>(N); - std::vector> y2 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto y1 = in__.template read>(N); current_statement__ = 2; - y2 = in__.template read< - std::vector>>(N, N); - std::vector> y3 = - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto y2 = + in__.template read< + std::vector>>(N, N); current_statement__ = 3; - y3 = in__.template read< - std::vector>>(N, N); - std::vector> y4 = - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN())); + auto y3 = + in__.template read< + std::vector>>(N, N); current_statement__ = 4; - y4 = in__.template read< - std::vector>>(N, N, N); - std::vector> y5 = - std::vector>(N, - std::vector(N, std::numeric_limits::quiet_NaN())); + auto y4 = + in__.template read< + std::vector>>(N, N, N); current_statement__ = 5; - y5 = in__.template read>>(N, - N); - std::vector>> y6 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto y5 = + in__.template read>>(N, N); current_statement__ = 6; - y6 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y7 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()))); + auto y6 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 7; - y7 = in__.template read< - std::vector>>>(N, - N, N); - std::vector>> y8 = - std::vector>>(N, - std::vector>(N, - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()))); + auto y7 = + in__.template read< + std::vector>>>(N, + N, N); current_statement__ = 8; - y8 = in__.template read< - std::vector>>>(N, - N, N, N); - double y9 = std::numeric_limits::quiet_NaN(); + auto y8 = + in__.template read< + std::vector>>>(N, + N, N, N); current_statement__ = 9; - y9 = in__.template read(); - Eigen::Matrix y10 = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto y9 = in__.template read(); current_statement__ = 10; - y10 = in__.template read>(N); - Eigen::Matrix y11 = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto y10 = in__.template read>(N); current_statement__ = 11; - y11 = in__.template read>(N); - Eigen::Matrix y12 = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto y11 = in__.template read>(N); current_statement__ = 12; - y12 = in__.template read>(N, N); - std::vector>> y17 = - std::vector>>(N, - std::vector>(N, - std::vector(N, std::numeric_limits::quiet_NaN()))); + auto y12 = + in__.template read>(N, N); current_statement__ = 13; - y17 = in__.template read< - std::vector>>>(N, N, - N); + auto y17 = + in__.template read< + std::vector>>>(N, N, N); out__.write(y1); current_statement__ = 2; for (int sym1__ = 1; sym1__ <= N; ++sym1__) { @@ -40395,9 +39719,8 @@ class reject_exit_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(x, 0, 1)); @@ -40452,9 +39775,8 @@ class reject_exit_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(x, 0, 1)); @@ -40520,9 +39842,8 @@ class reject_exit_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double x = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -40883,9 +40204,8 @@ class return_position_types_model final : public model_base_crtp(); + auto a = in__.template read(); { std::vector z = std::vector(1, DUMMY_VAR__); @@ -40932,9 +40252,8 @@ class return_position_types_model final : public model_base_crtp(); + auto a = in__.template read(); { std::vector z = std::vector(1, DUMMY_VAR__); @@ -40992,9 +40311,8 @@ class return_position_types_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - a = in__.template read(); + auto a = in__.template read(); out__.write(a); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -41777,113 +41095,80 @@ class shadowing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ e = DUMMY_VAR__; current_statement__ = 1; - e = in__.template read(); - local_scalar_t__ pi = DUMMY_VAR__; + auto e = in__.template read(); current_statement__ = 2; - pi = in__.template read(); - local_scalar_t__ log2 = DUMMY_VAR__; + auto pi = in__.template read(); current_statement__ = 3; - log2 = in__.template read(); - local_scalar_t__ log10 = DUMMY_VAR__; + auto log2 = in__.template read(); current_statement__ = 4; - log10 = in__.template read(); - local_scalar_t__ sqrt2 = DUMMY_VAR__; + auto log10 = in__.template read(); current_statement__ = 5; - sqrt2 = in__.template read(); - local_scalar_t__ not_a_number = DUMMY_VAR__; + auto sqrt2 = in__.template read(); current_statement__ = 6; - not_a_number = in__.template read(); - local_scalar_t__ positive_infinity = DUMMY_VAR__; + auto not_a_number = in__.template read(); current_statement__ = 7; - positive_infinity = in__.template read(); - local_scalar_t__ negative_infinity = DUMMY_VAR__; + auto positive_infinity = in__.template read(); current_statement__ = 8; - negative_infinity = in__.template read(); - local_scalar_t__ machine_precision = DUMMY_VAR__; + auto negative_infinity = in__.template read(); current_statement__ = 9; - machine_precision = in__.template read(); - local_scalar_t__ inv_logit = DUMMY_VAR__; + auto machine_precision = in__.template read(); current_statement__ = 10; - inv_logit = in__.template read(); - local_scalar_t__ logit = DUMMY_VAR__; + auto inv_logit = in__.template read(); current_statement__ = 11; - logit = in__.template read(); - local_scalar_t__ num_elements = DUMMY_VAR__; + auto logit = in__.template read(); current_statement__ = 12; - num_elements = in__.template read(); - local_scalar_t__ pow = DUMMY_VAR__; + auto num_elements = in__.template read(); current_statement__ = 13; - pow = in__.template read(); - local_scalar_t__ add = DUMMY_VAR__; + auto pow = in__.template read(); current_statement__ = 14; - add = in__.template read(); - local_scalar_t__ sub = DUMMY_VAR__; + auto add = in__.template read(); current_statement__ = 15; - sub = in__.template read(); - local_scalar_t__ multiply = DUMMY_VAR__; + auto sub = in__.template read(); current_statement__ = 16; - multiply = in__.template read(); - local_scalar_t__ lchoose = DUMMY_VAR__; + auto multiply = in__.template read(); current_statement__ = 17; - lchoose = in__.template read(); - local_scalar_t__ binomial_coefficient_log = DUMMY_VAR__; + auto lchoose = in__.template read(); current_statement__ = 18; - binomial_coefficient_log = in__.template read(); - local_scalar_t__ read_constrain_lb = DUMMY_VAR__; + auto binomial_coefficient_log = in__.template read(); current_statement__ = 19; - read_constrain_lb = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ read = DUMMY_VAR__; + auto read_constrain_lb = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 20; - read = in__.template read(); - local_scalar_t__ validate_non_negative_index = DUMMY_VAR__; + auto read = in__.template read(); current_statement__ = 21; - validate_non_negative_index = in__.template read(); - local_scalar_t__ length = DUMMY_VAR__; + auto validate_non_negative_index = + in__.template read(); current_statement__ = 22; - length = in__.template read(); - Eigen::Matrix validate_positive_index = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto length = in__.template read(); current_statement__ = 23; - validate_positive_index = in__.template read_constrain_simplex< - Eigen::Matrix, - jacobian__>(lp__, 5); - local_scalar_t__ profile_map = DUMMY_VAR__; + auto validate_positive_index = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, 5); current_statement__ = 24; - profile_map = in__.template read(); - local_scalar_t__ assign = DUMMY_VAR__; + auto profile_map = in__.template read(); current_statement__ = 25; - assign = in__.template read(); - local_scalar_t__ rvalue = DUMMY_VAR__; + auto assign = in__.template read(); current_statement__ = 26; - rvalue = in__.template read(); - local_scalar_t__ stan_print = DUMMY_VAR__; + auto rvalue = in__.template read(); current_statement__ = 27; - stan_print = in__.template read(); - local_scalar_t__ model_base_crtp = DUMMY_VAR__; + auto stan_print = in__.template read(); current_statement__ = 28; - model_base_crtp = in__.template read(); - local_scalar_t__ index_uni = DUMMY_VAR__; + auto model_base_crtp = in__.template read(); current_statement__ = 29; - index_uni = in__.template read(); - local_scalar_t__ bernoulli_logit_glm_lpmf = DUMMY_VAR__; + auto index_uni = in__.template read(); current_statement__ = 30; - bernoulli_logit_glm_lpmf = in__.template read(); - local_scalar_t__ reduce_sum = DUMMY_VAR__; + auto bernoulli_logit_glm_lpmf = in__.template read(); current_statement__ = 31; - reduce_sum = in__.template read(); - Eigen::Matrix segment = - Eigen::Matrix::Constant(4, DUMMY_VAR__); + auto reduce_sum = in__.template read(); current_statement__ = 32; - segment = in__.template read>(4); - local_scalar_t__ ode_bdf = DUMMY_VAR__; + auto segment = + in__.template read>(4); current_statement__ = 33; - ode_bdf = in__.template read(); - local_scalar_t__ ode_bdf_tol = DUMMY_VAR__; + auto ode_bdf = in__.template read(); current_statement__ = 34; - ode_bdf_tol = in__.template read(); + auto ode_bdf_tol = in__.template read(); local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 38; mu = ((((((((stan::math::e() + stan::math::pi()) + stan::math::log2()) @@ -41960,113 +41245,80 @@ class shadowing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ e = DUMMY_VAR__; current_statement__ = 1; - e = in__.template read(); - local_scalar_t__ pi = DUMMY_VAR__; + auto e = in__.template read(); current_statement__ = 2; - pi = in__.template read(); - local_scalar_t__ log2 = DUMMY_VAR__; + auto pi = in__.template read(); current_statement__ = 3; - log2 = in__.template read(); - local_scalar_t__ log10 = DUMMY_VAR__; + auto log2 = in__.template read(); current_statement__ = 4; - log10 = in__.template read(); - local_scalar_t__ sqrt2 = DUMMY_VAR__; + auto log10 = in__.template read(); current_statement__ = 5; - sqrt2 = in__.template read(); - local_scalar_t__ not_a_number = DUMMY_VAR__; + auto sqrt2 = in__.template read(); current_statement__ = 6; - not_a_number = in__.template read(); - local_scalar_t__ positive_infinity = DUMMY_VAR__; + auto not_a_number = in__.template read(); current_statement__ = 7; - positive_infinity = in__.template read(); - local_scalar_t__ negative_infinity = DUMMY_VAR__; + auto positive_infinity = in__.template read(); current_statement__ = 8; - negative_infinity = in__.template read(); - local_scalar_t__ machine_precision = DUMMY_VAR__; + auto negative_infinity = in__.template read(); current_statement__ = 9; - machine_precision = in__.template read(); - local_scalar_t__ inv_logit = DUMMY_VAR__; + auto machine_precision = in__.template read(); current_statement__ = 10; - inv_logit = in__.template read(); - local_scalar_t__ logit = DUMMY_VAR__; + auto inv_logit = in__.template read(); current_statement__ = 11; - logit = in__.template read(); - local_scalar_t__ num_elements = DUMMY_VAR__; + auto logit = in__.template read(); current_statement__ = 12; - num_elements = in__.template read(); - local_scalar_t__ pow = DUMMY_VAR__; + auto num_elements = in__.template read(); current_statement__ = 13; - pow = in__.template read(); - local_scalar_t__ add = DUMMY_VAR__; + auto pow = in__.template read(); current_statement__ = 14; - add = in__.template read(); - local_scalar_t__ sub = DUMMY_VAR__; + auto add = in__.template read(); current_statement__ = 15; - sub = in__.template read(); - local_scalar_t__ multiply = DUMMY_VAR__; + auto sub = in__.template read(); current_statement__ = 16; - multiply = in__.template read(); - local_scalar_t__ lchoose = DUMMY_VAR__; + auto multiply = in__.template read(); current_statement__ = 17; - lchoose = in__.template read(); - local_scalar_t__ binomial_coefficient_log = DUMMY_VAR__; + auto lchoose = in__.template read(); current_statement__ = 18; - binomial_coefficient_log = in__.template read(); - local_scalar_t__ read_constrain_lb = DUMMY_VAR__; + auto binomial_coefficient_log = in__.template read(); current_statement__ = 19; - read_constrain_lb = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ read = DUMMY_VAR__; + auto read_constrain_lb = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 20; - read = in__.template read(); - local_scalar_t__ validate_non_negative_index = DUMMY_VAR__; + auto read = in__.template read(); current_statement__ = 21; - validate_non_negative_index = in__.template read(); - local_scalar_t__ length = DUMMY_VAR__; + auto validate_non_negative_index = + in__.template read(); current_statement__ = 22; - length = in__.template read(); - Eigen::Matrix validate_positive_index = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto length = in__.template read(); current_statement__ = 23; - validate_positive_index = in__.template read_constrain_simplex< - Eigen::Matrix, - jacobian__>(lp__, 5); - local_scalar_t__ profile_map = DUMMY_VAR__; + auto validate_positive_index = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, 5); current_statement__ = 24; - profile_map = in__.template read(); - local_scalar_t__ assign = DUMMY_VAR__; + auto profile_map = in__.template read(); current_statement__ = 25; - assign = in__.template read(); - local_scalar_t__ rvalue = DUMMY_VAR__; + auto assign = in__.template read(); current_statement__ = 26; - rvalue = in__.template read(); - local_scalar_t__ stan_print = DUMMY_VAR__; + auto rvalue = in__.template read(); current_statement__ = 27; - stan_print = in__.template read(); - local_scalar_t__ model_base_crtp = DUMMY_VAR__; + auto stan_print = in__.template read(); current_statement__ = 28; - model_base_crtp = in__.template read(); - local_scalar_t__ index_uni = DUMMY_VAR__; + auto model_base_crtp = in__.template read(); current_statement__ = 29; - index_uni = in__.template read(); - local_scalar_t__ bernoulli_logit_glm_lpmf = DUMMY_VAR__; + auto index_uni = in__.template read(); current_statement__ = 30; - bernoulli_logit_glm_lpmf = in__.template read(); - local_scalar_t__ reduce_sum = DUMMY_VAR__; + auto bernoulli_logit_glm_lpmf = in__.template read(); current_statement__ = 31; - reduce_sum = in__.template read(); - Eigen::Matrix segment = - Eigen::Matrix::Constant(4, DUMMY_VAR__); + auto reduce_sum = in__.template read(); current_statement__ = 32; - segment = in__.template read>(4); - local_scalar_t__ ode_bdf = DUMMY_VAR__; + auto segment = + in__.template read>(4); current_statement__ = 33; - ode_bdf = in__.template read(); - local_scalar_t__ ode_bdf_tol = DUMMY_VAR__; + auto ode_bdf = in__.template read(); current_statement__ = 34; - ode_bdf_tol = in__.template read(); + auto ode_bdf_tol = in__.template read(); local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 38; mu = ((((((((stan::math::e() + stan::math::pi()) + stan::math::log2()) @@ -42154,118 +41406,80 @@ class shadowing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double e = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - e = in__.template read(); - double pi = std::numeric_limits::quiet_NaN(); + auto e = in__.template read(); current_statement__ = 2; - pi = in__.template read(); - double log2 = std::numeric_limits::quiet_NaN(); + auto pi = in__.template read(); current_statement__ = 3; - log2 = in__.template read(); - double log10 = std::numeric_limits::quiet_NaN(); + auto log2 = in__.template read(); current_statement__ = 4; - log10 = in__.template read(); - double sqrt2 = std::numeric_limits::quiet_NaN(); + auto log10 = in__.template read(); current_statement__ = 5; - sqrt2 = in__.template read(); - double not_a_number = std::numeric_limits::quiet_NaN(); + auto sqrt2 = in__.template read(); current_statement__ = 6; - not_a_number = in__.template read(); - double positive_infinity = std::numeric_limits::quiet_NaN(); + auto not_a_number = in__.template read(); current_statement__ = 7; - positive_infinity = in__.template read(); - double negative_infinity = std::numeric_limits::quiet_NaN(); + auto positive_infinity = in__.template read(); current_statement__ = 8; - negative_infinity = in__.template read(); - double machine_precision = std::numeric_limits::quiet_NaN(); + auto negative_infinity = in__.template read(); current_statement__ = 9; - machine_precision = in__.template read(); - double inv_logit = std::numeric_limits::quiet_NaN(); + auto machine_precision = in__.template read(); current_statement__ = 10; - inv_logit = in__.template read(); - double logit = std::numeric_limits::quiet_NaN(); + auto inv_logit = in__.template read(); current_statement__ = 11; - logit = in__.template read(); - double num_elements = std::numeric_limits::quiet_NaN(); + auto logit = in__.template read(); current_statement__ = 12; - num_elements = in__.template read(); - double pow = std::numeric_limits::quiet_NaN(); + auto num_elements = in__.template read(); current_statement__ = 13; - pow = in__.template read(); - double add = std::numeric_limits::quiet_NaN(); + auto pow = in__.template read(); current_statement__ = 14; - add = in__.template read(); - double sub = std::numeric_limits::quiet_NaN(); + auto add = in__.template read(); current_statement__ = 15; - sub = in__.template read(); - double multiply = std::numeric_limits::quiet_NaN(); + auto sub = in__.template read(); current_statement__ = 16; - multiply = in__.template read(); - double lchoose = std::numeric_limits::quiet_NaN(); + auto multiply = in__.template read(); current_statement__ = 17; - lchoose = in__.template read(); - double binomial_coefficient_log = - std::numeric_limits::quiet_NaN(); + auto lchoose = in__.template read(); current_statement__ = 18; - binomial_coefficient_log = in__.template read(); - double read_constrain_lb = std::numeric_limits::quiet_NaN(); + auto binomial_coefficient_log = in__.template read(); current_statement__ = 19; - read_constrain_lb = in__.template read_constrain_lb(0, lp__); - double read = std::numeric_limits::quiet_NaN(); + auto read_constrain_lb = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 20; - read = in__.template read(); - double validate_non_negative_index = - std::numeric_limits::quiet_NaN(); + auto read = in__.template read(); current_statement__ = 21; - validate_non_negative_index = in__.template read(); - double length = std::numeric_limits::quiet_NaN(); + auto validate_non_negative_index = + in__.template read(); current_statement__ = 22; - length = in__.template read(); - Eigen::Matrix validate_positive_index = - Eigen::Matrix::Constant(5, - std::numeric_limits::quiet_NaN()); + auto length = in__.template read(); current_statement__ = 23; - validate_positive_index = in__.template read_constrain_simplex< - Eigen::Matrix, - jacobian__>(lp__, 5); - double profile_map = std::numeric_limits::quiet_NaN(); + auto validate_positive_index = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, 5); current_statement__ = 24; - profile_map = in__.template read(); - double assign = std::numeric_limits::quiet_NaN(); + auto profile_map = in__.template read(); current_statement__ = 25; - assign = in__.template read(); - double rvalue = std::numeric_limits::quiet_NaN(); + auto assign = in__.template read(); current_statement__ = 26; - rvalue = in__.template read(); - double stan_print = std::numeric_limits::quiet_NaN(); + auto rvalue = in__.template read(); current_statement__ = 27; - stan_print = in__.template read(); - double model_base_crtp = std::numeric_limits::quiet_NaN(); + auto stan_print = in__.template read(); current_statement__ = 28; - model_base_crtp = in__.template read(); - double index_uni = std::numeric_limits::quiet_NaN(); + auto model_base_crtp = in__.template read(); current_statement__ = 29; - index_uni = in__.template read(); - double bernoulli_logit_glm_lpmf = - std::numeric_limits::quiet_NaN(); + auto index_uni = in__.template read(); current_statement__ = 30; - bernoulli_logit_glm_lpmf = in__.template read(); - double reduce_sum = std::numeric_limits::quiet_NaN(); + auto bernoulli_logit_glm_lpmf = in__.template read(); current_statement__ = 31; - reduce_sum = in__.template read(); - Eigen::Matrix segment = - Eigen::Matrix::Constant(4, - std::numeric_limits::quiet_NaN()); + auto reduce_sum = in__.template read(); current_statement__ = 32; - segment = in__.template read>(4); - double ode_bdf = std::numeric_limits::quiet_NaN(); + auto segment = + in__.template read>(4); current_statement__ = 33; - ode_bdf = in__.template read(); - double ode_bdf_tol = std::numeric_limits::quiet_NaN(); + auto ode_bdf = in__.template read(); current_statement__ = 34; - ode_bdf_tol = in__.template read(); + auto ode_bdf_tol = in__.template read(); double mu = std::numeric_limits::quiet_NaN(); std::vector> called = std::vector>(1, @@ -43626,10 +42840,10 @@ class tilde_block_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; if (t) { @@ -43686,10 +42900,10 @@ class tilde_block_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; if (t) { @@ -43757,10 +42971,10 @@ class tilde_block_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double x = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -44416,37 +43630,33 @@ class transform_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector p_1 = - std::vector(k, DUMMY_VAR__); current_statement__ = 1; - p_1 = in__.template read_constrain_lb, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 1; stan::math::check_matching_dims("constraint", "p_1", p_1, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_2 = - std::vector(k, DUMMY_VAR__); current_statement__ = 2; - p_2 = in__.template read_constrain_ub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_2 = + in__.template read_constrain_ub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 2; stan::math::check_matching_dims("constraint", "p_2", p_2, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_3 = - std::vector(k, DUMMY_VAR__); current_statement__ = 3; - p_3 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_3 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 3; stan::math::check_matching_dims("constraint", "p_3", p_3, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -44455,61 +43665,55 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_3", p_3, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_4 = - std::vector(k, DUMMY_VAR__); current_statement__ = 4; - p_4 = in__.template read_constrain_lub, - jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_4 = + in__.template read_constrain_lub, + jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 4; stan::math::check_matching_dims("constraint", "p_4", p_4, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_5 = - std::vector(k, DUMMY_VAR__); current_statement__ = 5; - p_5 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_5 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 5; stan::math::check_matching_dims("constraint", "p_5", p_5, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_6 = - std::vector(k, DUMMY_VAR__); current_statement__ = 6; - p_6 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_6 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 6; stan::math::check_matching_dims("constraint", "p_6", p_6, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_7 = - std::vector(k, DUMMY_VAR__); current_statement__ = 7; - p_7 = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_7 = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(1)), lp__, k); current_statement__ = 7; stan::math::check_matching_dims("constraint", "p_7", p_7, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_8 = - std::vector(k, DUMMY_VAR__); current_statement__ = 8; - p_8 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_8 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 8; stan::math::check_matching_dims("constraint", "p_8", p_8, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -44518,37 +43722,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_8", p_8, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> p_9 = - std::vector>(m, - std::vector(k, DUMMY_VAR__)); current_statement__ = 9; - p_9 = in__.template read_constrain_lub< - std::vector>, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1)), 1, lp__, m, k); + auto p_9 = + in__.template read_constrain_lub< + std::vector>, + jacobian__>(stan::model::rvalue(ds, "ds", stan::model::index_uni(1)), + 1, lp__, m, k); current_statement__ = 9; stan::math::check_matching_dims("constraint", "p_9", p_9, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1))); - std::vector>> p_10 = - std::vector>>(n, - std::vector>(m, - std::vector(k, DUMMY_VAR__))); current_statement__ = 10; - p_10 = in__.template read_constrain_lub< - std::vector>>, - jacobian__>(0, ds, lp__, n, m, k); + auto p_10 = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, ds, lp__, n, m, k); current_statement__ = 10; stan::math::check_matching_dims("constraint", "p_10", p_10, "upper", ds); - Eigen::Matrix pv_1 = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 11; - pv_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dv, "dv", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pv_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dv, "dv", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dv, "dv", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 11; stan::math::check_matching_dims("constraint", "pv_1", pv_1, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), @@ -44557,37 +43754,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pv_1", pv_1, "upper", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pv_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__)); current_statement__ = 12; - pv_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1)), lp__, m, k); + auto pv_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dv, "dv", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 12; stan::math::check_matching_dims("constraint", "pv_2", pv_2, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1))); - std::vector>> pv_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__))); current_statement__ = 13; - pv_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dv, lp__, n, m, k); + auto pv_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dv, lp__, n, m, k); current_statement__ = 13; stan::math::check_matching_dims("constraint", "pv_3", pv_3, "upper", dv); - Eigen::Matrix pr_1 = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 14; - pr_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dr, "dr", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pr_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dr, "dr", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dr, "dr", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 14; stan::math::check_matching_dims("constraint", "pr_1", pr_1, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), @@ -44596,44 +43786,36 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pr_1", pr_1, "upper", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pr_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__)); current_statement__ = 15; - pr_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1)), lp__, m, k); + auto pr_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dr, "dr", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 15; stan::math::check_matching_dims("constraint", "pr_2", pr_2, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1))); - std::vector>> pr_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__))); current_statement__ = 16; - pr_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dr, lp__, n, m, k); + auto pr_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dr, lp__, n, m, k); current_statement__ = 16; stan::math::check_matching_dims("constraint", "pr_3", pr_3, "upper", dr); - Eigen::Matrix pm_1 = - Eigen::Matrix::Constant(m, k, DUMMY_VAR__); current_statement__ = 17; - pm_1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dm, "dm", - stan::model::index_uni(1)), lp__, m, k); + auto pm_1 = + in__.template read_constrain_lb< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dm, "dm", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 17; stan::math::check_matching_dims("constraint", "pm_1", pm_1, "lower", stan::model::rvalue(dm, "dm", stan::model::index_uni(1))); - std::vector> pm_2 = - std::vector>(n, - Eigen::Matrix::Constant(m, k, DUMMY_VAR__)); current_statement__ = 18; - pm_2 = in__.template read_constrain_ub< - std::vector>, - jacobian__>(dm, lp__, n, m, k); + auto pm_2 = + in__.template read_constrain_ub< + std::vector>, jacobian__>(dm, + lp__, n, m, k); current_statement__ = 18; stan::math::check_matching_dims("constraint", "pm_2", pm_2, "upper", dm); std::vector tp_1 = @@ -44898,37 +44080,33 @@ class transform_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector p_1 = - std::vector(k, DUMMY_VAR__); current_statement__ = 1; - p_1 = in__.template read_constrain_lb, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 1; stan::math::check_matching_dims("constraint", "p_1", p_1, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_2 = - std::vector(k, DUMMY_VAR__); current_statement__ = 2; - p_2 = in__.template read_constrain_ub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_2 = + in__.template read_constrain_ub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 2; stan::math::check_matching_dims("constraint", "p_2", p_2, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_3 = - std::vector(k, DUMMY_VAR__); current_statement__ = 3; - p_3 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_3 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 3; stan::math::check_matching_dims("constraint", "p_3", p_3, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -44937,61 +44115,55 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_3", p_3, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_4 = - std::vector(k, DUMMY_VAR__); current_statement__ = 4; - p_4 = in__.template read_constrain_lub, - jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_4 = + in__.template read_constrain_lub, + jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 4; stan::math::check_matching_dims("constraint", "p_4", p_4, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_5 = - std::vector(k, DUMMY_VAR__); current_statement__ = 5; - p_5 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_5 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 5; stan::math::check_matching_dims("constraint", "p_5", p_5, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_6 = - std::vector(k, DUMMY_VAR__); current_statement__ = 6; - p_6 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_6 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 6; stan::math::check_matching_dims("constraint", "p_6", p_6, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_7 = - std::vector(k, DUMMY_VAR__); current_statement__ = 7; - p_7 = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_7 = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(1)), lp__, k); current_statement__ = 7; stan::math::check_matching_dims("constraint", "p_7", p_7, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_8 = - std::vector(k, DUMMY_VAR__); current_statement__ = 8; - p_8 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_8 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 8; stan::math::check_matching_dims("constraint", "p_8", p_8, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -45000,37 +44172,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_8", p_8, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> p_9 = - std::vector>(m, - std::vector(k, DUMMY_VAR__)); current_statement__ = 9; - p_9 = in__.template read_constrain_lub< - std::vector>, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1)), 1, lp__, m, k); + auto p_9 = + in__.template read_constrain_lub< + std::vector>, + jacobian__>(stan::model::rvalue(ds, "ds", stan::model::index_uni(1)), + 1, lp__, m, k); current_statement__ = 9; stan::math::check_matching_dims("constraint", "p_9", p_9, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1))); - std::vector>> p_10 = - std::vector>>(n, - std::vector>(m, - std::vector(k, DUMMY_VAR__))); current_statement__ = 10; - p_10 = in__.template read_constrain_lub< - std::vector>>, - jacobian__>(0, ds, lp__, n, m, k); + auto p_10 = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, ds, lp__, n, m, k); current_statement__ = 10; stan::math::check_matching_dims("constraint", "p_10", p_10, "upper", ds); - Eigen::Matrix pv_1 = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 11; - pv_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dv, "dv", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pv_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dv, "dv", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dv, "dv", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 11; stan::math::check_matching_dims("constraint", "pv_1", pv_1, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), @@ -45039,37 +44204,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pv_1", pv_1, "upper", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pv_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__)); current_statement__ = 12; - pv_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1)), lp__, m, k); + auto pv_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dv, "dv", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 12; stan::math::check_matching_dims("constraint", "pv_2", pv_2, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1))); - std::vector>> pv_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__))); current_statement__ = 13; - pv_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dv, lp__, n, m, k); + auto pv_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dv, lp__, n, m, k); current_statement__ = 13; stan::math::check_matching_dims("constraint", "pv_3", pv_3, "upper", dv); - Eigen::Matrix pr_1 = - Eigen::Matrix::Constant(k, DUMMY_VAR__); current_statement__ = 14; - pr_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dr, "dr", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pr_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dr, "dr", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dr, "dr", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 14; stan::math::check_matching_dims("constraint", "pr_1", pr_1, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), @@ -45078,44 +44236,36 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pr_1", pr_1, "upper", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pr_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__)); current_statement__ = 15; - pr_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1)), lp__, m, k); + auto pr_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dr, "dr", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 15; stan::math::check_matching_dims("constraint", "pr_2", pr_2, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1))); - std::vector>> pr_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, DUMMY_VAR__))); current_statement__ = 16; - pr_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dr, lp__, n, m, k); + auto pr_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dr, lp__, n, m, k); current_statement__ = 16; stan::math::check_matching_dims("constraint", "pr_3", pr_3, "upper", dr); - Eigen::Matrix pm_1 = - Eigen::Matrix::Constant(m, k, DUMMY_VAR__); current_statement__ = 17; - pm_1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dm, "dm", - stan::model::index_uni(1)), lp__, m, k); + auto pm_1 = + in__.template read_constrain_lb< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dm, "dm", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 17; stan::math::check_matching_dims("constraint", "pm_1", pm_1, "lower", stan::model::rvalue(dm, "dm", stan::model::index_uni(1))); - std::vector> pm_2 = - std::vector>(n, - Eigen::Matrix::Constant(m, k, DUMMY_VAR__)); current_statement__ = 18; - pm_2 = in__.template read_constrain_ub< - std::vector>, - jacobian__>(dm, lp__, n, m, k); + auto pm_2 = + in__.template read_constrain_ub< + std::vector>, jacobian__>(dm, + lp__, n, m, k); current_statement__ = 18; stan::math::check_matching_dims("constraint", "pm_2", pm_2, "upper", dm); std::vector tp_1 = @@ -45391,37 +44541,33 @@ class transform_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector p_1 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - p_1 = in__.template read_constrain_lb, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_1 = + in__.template read_constrain_lb, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 1; stan::math::check_matching_dims("constraint", "p_1", p_1, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_2 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 2; - p_2 = in__.template read_constrain_ub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_2 = + in__.template read_constrain_ub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + lp__, k); current_statement__ = 2; stan::math::check_matching_dims("constraint", "p_2", p_2, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_3 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 3; - p_3 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_3 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 3; stan::math::check_matching_dims("constraint", "p_3", p_3, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -45430,61 +44576,55 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_3", p_3, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_4 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 4; - p_4 = in__.template read_constrain_lub, - jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_4 = + in__.template read_constrain_lub, + jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 4; stan::math::check_matching_dims("constraint", "p_4", p_4, "upper", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector p_5 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 5; - p_5 = in__.template read_constrain_lub, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_5 = + in__.template read_constrain_lub, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 5; stan::math::check_matching_dims("constraint", "p_5", p_5, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_6 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 6; - p_6 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), 1, lp__, k); + auto p_6 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + 1, lp__, k); current_statement__ = 6; stan::math::check_matching_dims("constraint", "p_6", p_6, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_7 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 7; - p_7 = in__.template read_constrain_offset_multiplier< - std::vector, jacobian__>(0, - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(1)), lp__, k); + auto p_7 = + in__.template read_constrain_offset_multiplier< + std::vector, jacobian__>(0, + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(1)), lp__, k); current_statement__ = 7; stan::math::check_matching_dims("constraint", "p_7", p_7, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(1))); - std::vector p_8 = - std::vector(k, std::numeric_limits::quiet_NaN()); current_statement__ = 8; - p_8 = in__.template read_constrain_offset_multiplier< - std::vector, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(ds, "ds", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto p_8 = + in__.template read_constrain_offset_multiplier< + std::vector, + jacobian__>(stan::model::rvalue(ds, "ds", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(ds, "ds", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 8; stan::math::check_matching_dims("constraint", "p_8", p_8, "offset", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), @@ -45493,38 +44633,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "p_8", p_8, "multiplier", stan::model::rvalue(ds, "ds", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> p_9 = - std::vector>(m, - std::vector(k, std::numeric_limits::quiet_NaN())); current_statement__ = 9; - p_9 = in__.template read_constrain_lub< - std::vector>, - jacobian__>(stan::model::rvalue(ds, "ds", - stan::model::index_uni(1)), 1, lp__, m, k); + auto p_9 = + in__.template read_constrain_lub< + std::vector>, + jacobian__>(stan::model::rvalue(ds, "ds", stan::model::index_uni(1)), + 1, lp__, m, k); current_statement__ = 9; stan::math::check_matching_dims("constraint", "p_9", p_9, "lower", stan::model::rvalue(ds, "ds", stan::model::index_uni(1))); - std::vector>> p_10 = - std::vector>>(n, - std::vector>(m, - std::vector(k, std::numeric_limits::quiet_NaN()))); current_statement__ = 10; - p_10 = in__.template read_constrain_lub< - std::vector>>, - jacobian__>(0, ds, lp__, n, m, k); + auto p_10 = + in__.template read_constrain_lub< + std::vector>>, + jacobian__>(0, ds, lp__, n, m, k); current_statement__ = 10; stan::math::check_matching_dims("constraint", "p_10", p_10, "upper", ds); - Eigen::Matrix pv_1 = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); current_statement__ = 11; - pv_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dv, "dv", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pv_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dv, "dv", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dv, "dv", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 11; stan::math::check_matching_dims("constraint", "pv_1", pv_1, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), @@ -45533,40 +44665,30 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pv_1", pv_1, "upper", stan::model::rvalue(dv, "dv", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pv_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN())); current_statement__ = 12; - pv_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dv, "dv", - stan::model::index_uni(1)), lp__, m, k); + auto pv_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dv, "dv", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 12; stan::math::check_matching_dims("constraint", "pv_2", pv_2, "lower", stan::model::rvalue(dv, "dv", stan::model::index_uni(1))); - std::vector>> pv_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()))); current_statement__ = 13; - pv_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dv, lp__, n, m, k); + auto pv_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dv, lp__, n, m, k); current_statement__ = 13; stan::math::check_matching_dims("constraint", "pv_3", pv_3, "upper", dv); - Eigen::Matrix pr_1 = - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()); current_statement__ = 14; - pr_1 = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1), - stan::model::index_uni(1)), - stan::model::rvalue(dr, "dr", stan::model::index_uni(1), - stan::model::index_uni(2)), lp__, k); + auto pr_1 = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dr, "dr", + stan::model::index_uni(1), stan::model::index_uni(1)), + stan::model::rvalue(dr, "dr", stan::model::index_uni(1), + stan::model::index_uni(2)), lp__, k); current_statement__ = 14; stan::math::check_matching_dims("constraint", "pr_1", pr_1, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), @@ -45575,48 +44697,36 @@ class transform_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "pr_1", pr_1, "upper", stan::model::rvalue(dr, "dr", stan::model::index_uni(1), stan::model::index_uni(2))); - std::vector> pr_2 = - std::vector>(m, - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN())); current_statement__ = 15; - pr_2 = in__.template read_constrain_lb< - std::vector>, - jacobian__>(stan::model::rvalue(dr, "dr", - stan::model::index_uni(1)), lp__, m, k); + auto pr_2 = + in__.template read_constrain_lb< + std::vector>, + jacobian__>(stan::model::rvalue(dr, "dr", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 15; stan::math::check_matching_dims("constraint", "pr_2", pr_2, "lower", stan::model::rvalue(dr, "dr", stan::model::index_uni(1))); - std::vector>> pr_3 = - std::vector>>(n, - std::vector>(m, - Eigen::Matrix::Constant(k, - std::numeric_limits::quiet_NaN()))); current_statement__ = 16; - pr_3 = in__.template read_constrain_ub< - std::vector>>, - jacobian__>(dr, lp__, n, m, k); + auto pr_3 = + in__.template read_constrain_ub< + std::vector>>, + jacobian__>(dr, lp__, n, m, k); current_statement__ = 16; stan::math::check_matching_dims("constraint", "pr_3", pr_3, "upper", dr); - Eigen::Matrix pm_1 = - Eigen::Matrix::Constant(m, k, - std::numeric_limits::quiet_NaN()); current_statement__ = 17; - pm_1 = in__.template read_constrain_lb< - Eigen::Matrix, - jacobian__>(stan::model::rvalue(dm, "dm", - stan::model::index_uni(1)), lp__, m, k); + auto pm_1 = + in__.template read_constrain_lb< + Eigen::Matrix, + jacobian__>(stan::model::rvalue(dm, "dm", stan::model::index_uni(1)), + lp__, m, k); current_statement__ = 17; stan::math::check_matching_dims("constraint", "pm_1", pm_1, "lower", stan::model::rvalue(dm, "dm", stan::model::index_uni(1))); - std::vector> pm_2 = - std::vector>(n, - Eigen::Matrix::Constant(m, k, - std::numeric_limits::quiet_NaN())); current_statement__ = 18; - pm_2 = in__.template read_constrain_ub< - std::vector>, - jacobian__>(dm, lp__, n, m, k); + auto pm_2 = + in__.template read_constrain_ub< + std::vector>, jacobian__>(dm, + lp__, n, m, k); current_statement__ = 18; stan::math::check_matching_dims("constraint", "pm_2", pm_2, "upper", dm); std::vector tp_1 = @@ -47268,13 +46378,12 @@ class truncate_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ m = DUMMY_VAR__; current_statement__ = 1; - m = in__.template read(); - local_scalar_t__ y = DUMMY_VAR__; + auto m = in__.template read(); current_statement__ = 2; - y = in__.template read_constrain_lb(0, - lp__); + auto y = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(x, m, 1)); @@ -47387,13 +46496,12 @@ class truncate_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ m = DUMMY_VAR__; current_statement__ = 1; - m = in__.template read(); - local_scalar_t__ y = DUMMY_VAR__; + auto m = in__.template read(); current_statement__ = 2; - y = in__.template read_constrain_lb(0, - lp__); + auto y = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(x, m, 1)); @@ -47517,13 +46625,12 @@ class truncate_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double m = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - m = in__.template read(); - double y = std::numeric_limits::quiet_NaN(); + auto m = in__.template read(); current_statement__ = 2; - y = in__.template read_constrain_lb(0, - lp__); + auto y = + in__.template read_constrain_lb(0, + lp__); out__.write(m); out__.write(y); if (stan::math::logical_negation( @@ -47828,9 +46935,8 @@ class udf_tilde_stmt_conflict_model final : public model_base_crtp(); + auto x = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(x, 0, 1)); @@ -47865,9 +46971,8 @@ class udf_tilde_stmt_conflict_model final : public model_base_crtp(); + auto x = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(x, 0, 1)); @@ -47913,9 +47018,8 @@ class udf_tilde_stmt_conflict_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -48211,10 +47315,10 @@ class user_constrain_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 2; lp_accum__.add(stan::math::std_normal_lpdf(x)); @@ -48249,10 +47353,10 @@ class user_constrain_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 2; lp_accum__.add(stan::math::std_normal_lpdf(x)); @@ -48298,10 +47402,10 @@ class user_constrain_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double x = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - x = in__.template read_constrain_lb(0, - lp__); + auto x = + in__.template read_constrain_lb(0, + lp__); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -48603,13 +47707,12 @@ class variable_named_context_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(context, mu, sigma)); @@ -48644,13 +47747,12 @@ class variable_named_context_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 3; lp_accum__.add(stan::math::normal_lpdf(context, mu, sigma)); @@ -48696,13 +47798,12 @@ class variable_named_context_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); - double sigma = std::numeric_limits::quiet_NaN(); + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); out__.write(mu); out__.write(sigma); if (stan::math::logical_negation( @@ -49115,22 +48216,18 @@ class vector_truncate_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix vector_mu = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - vector_mu = in__.template read>(N); - Eigen::Matrix vector_sigma = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vector_mu = + in__.template read>(N); current_statement__ = 4; - vector_sigma = in__.template read< - Eigen::Matrix>(N); + auto vector_sigma = + in__.template read>(N); { current_statement__ = 5; lp_accum__.add(stan::math::normal_lpdf(y, mu, sigma)); @@ -49638,22 +48735,18 @@ class vector_truncate_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix vector_mu = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - vector_mu = in__.template read>(N); - Eigen::Matrix vector_sigma = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto vector_mu = + in__.template read>(N); current_statement__ = 4; - vector_sigma = in__.template read< - Eigen::Matrix>(N); + auto vector_sigma = + in__.template read>(N); { current_statement__ = 5; lp_accum__.add(stan::math::normal_lpdf(y, mu, sigma)); @@ -50172,24 +49265,18 @@ class vector_truncate_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); - double sigma = std::numeric_limits::quiet_NaN(); + auto mu = in__.template read(); current_statement__ = 2; - sigma = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix vector_mu = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - vector_mu = in__.template read>(N); - Eigen::Matrix vector_sigma = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto vector_mu = + in__.template read>(N); current_statement__ = 4; - vector_sigma = in__.template read< - Eigen::Matrix>(N); + auto vector_sigma = + in__.template read>(N); out__.write(mu); out__.write(sigma); out__.write(vector_mu); diff --git a/test/integration/good/code-gen/expressions/cpp.expected b/test/integration/good/code-gen/expressions/cpp.expected index a824234b5..744f6a771 100644 --- a/test/integration/good/code-gen/expressions/cpp.expected +++ b/test/integration/good/code-gen/expressions/cpp.expected @@ -110,18 +110,13 @@ class operators_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix v = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 1; - v = in__.template read>(N); - Eigen::Matrix rv = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto v = in__.template read>(N); current_statement__ = 2; - rv = in__.template read>(N); - Eigen::Matrix A = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto rv = in__.template read>(N); current_statement__ = 3; - A = in__.template read>(N, N); + auto A = + in__.template read>(N, N); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -152,18 +147,13 @@ class operators_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix v = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 1; - v = in__.template read>(N); - Eigen::Matrix rv = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto v = in__.template read>(N); current_statement__ = 2; - rv = in__.template read>(N); - Eigen::Matrix A = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto rv = in__.template read>(N); current_statement__ = 3; - A = in__.template read>(N, N); + auto A = + in__.template read>(N, N); } catch (const std::exception& e) { stan::lang::rethrow_located(e, locations_array__[current_statement__]); } @@ -205,21 +195,13 @@ class operators_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix v = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - v = in__.template read>(N); - Eigen::Matrix rv = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto v = in__.template read>(N); current_statement__ = 2; - rv = in__.template read>(N); - Eigen::Matrix A = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto rv = in__.template read>(N); current_statement__ = 3; - A = in__.template read>(N, N); + auto A = + in__.template read>(N, N); out__.write(v); out__.write(rv); out__.write(A); @@ -1202,21 +1184,14 @@ class ternary_if_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(2); - Eigen::Matrix b = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto a = in__.template read>(2); current_statement__ = 2; - b = in__.template read>(2); - local_scalar_t__ r = DUMMY_VAR__; + auto b = in__.template read>(2); current_statement__ = 3; - r = in__.template read(); - std::complex zp = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto r = in__.template read(); current_statement__ = 4; - zp = in__.template read>(); + auto zp = in__.template read>(); Eigen::Matrix c = Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 5; @@ -1280,21 +1255,14 @@ class ternary_if_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(2); - Eigen::Matrix b = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto a = in__.template read>(2); current_statement__ = 2; - b = in__.template read>(2); - local_scalar_t__ r = DUMMY_VAR__; + auto b = in__.template read>(2); current_statement__ = 3; - r = in__.template read(); - std::complex zp = - std::complex(DUMMY_VAR__, DUMMY_VAR__); + auto r = in__.template read(); current_statement__ = 4; - zp = in__.template read>(); + auto zp = in__.template read>(); Eigen::Matrix c = Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 5; @@ -1369,24 +1337,14 @@ class ternary_if_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - a = in__.template read>(2); - Eigen::Matrix b = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto a = in__.template read>(2); current_statement__ = 2; - b = in__.template read>(2); - double r = std::numeric_limits::quiet_NaN(); + auto b = in__.template read>(2); current_statement__ = 3; - r = in__.template read(); - std::complex zp = - std::complex(std::numeric_limits::quiet_NaN(), - std::numeric_limits::quiet_NaN()); + auto r = in__.template read(); current_statement__ = 4; - zp = in__.template read>(); + auto zp = in__.template read>(); Eigen::Matrix c = Eigen::Matrix::Constant(2, std::numeric_limits::quiet_NaN()); diff --git a/test/integration/good/code-gen/lir.expected b/test/integration/good/code-gen/lir.expected index 7cec74102..c3d1cc3db 100644 --- a/test/integration/good/code-gen/lir.expected +++ b/test/integration/good/code-gen/lir.expected @@ -6164,414 +6164,214 @@ (Comment "suppress unused var warning") (Expression (Cast Void (Var function__))) (TryCatch - ((VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_real) (init (Assignment (Var DUMMY_VAR__))))) - (Expression (Assign (Var current_statement__) (Literal 1))) - (Expression - (Assign (Var p_real) - (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) - ()))) + ((Expression (Assign (Var current_statement__) (Literal 1))) (VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_upper) (init (Assignment (Var DUMMY_VAR__))))) + ((static false) (constexpr false) (type_ Auto) (name p_real) + (init + (Assignment + (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) + ()))))) (Expression (Assign (Var current_statement__) (Literal 2))) - (Expression - (Assign (Var p_upper) - (MethodCall (Var in__) "template read_constrain_lb" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_real) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_lower) (init (Assignment (Var DUMMY_VAR__))))) + ((static false) (constexpr false) (type_ Auto) (name p_upper) + (init + (Assignment + (MethodCall (Var in__) "template read_constrain_lb" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_real) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 3))) - (Expression - (Assign (Var p_lower) - (MethodCall (Var in__) "template read_constrain_ub" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_upper) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name p_lower) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_ub" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_upper) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 4))) - (Expression - (Assign (Var offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name no_offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name offset_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 5))) - (Expression - (Assign (Var no_offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name offset_no_multiplier) + ((static false) (constexpr false) (type_ Auto) (name no_offset_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 6))) - (Expression - (Assign (Var offset_no_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) (name p_real_1d_ar) + ((static false) (constexpr false) (type_ Auto) (name offset_no_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 7))) - (Expression - (Assign (Var p_real_1d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__))))) - (name p_real_3d_ar) + ((static false) (constexpr false) (type_ Auto) (name p_real_1d_ar) (init (Assignment - (Constructor - (StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) - ((Var N) - (Constructor (StdVector (StdVector (TypeLiteral local_scalar_t__))) - ((Var M) - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Var K) (Var DUMMY_VAR__))))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 8))) - (Expression - (Assign (Var p_real_3d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name p_vec) + ((static false) (constexpr false) (type_ Auto) (name p_real_3d_ar) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))))) (Expression (Assign (Var current_statement__) (Literal 9))) - (Expression - (Assign (Var p_vec) - (MethodCall (Var in__) "template read_constrain_lb" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - (name p_1d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_vec) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 10))) - (Expression - (Assign (Var p_1d_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - (name p_3d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_vec) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 11))) - (Expression - (Assign (Var p_3d_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - (name p_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_3d_vec) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 12))) - (Expression - (Assign (Var p_row_vec) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) ((Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - (name p_1d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_row_vec) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) + ((Var N))))))) (Expression (Assign (Var current_statement__) (Literal 13))) - (Expression - (Assign (Var p_1d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) - (name p_3d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_row_vec) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 14))) - (Expression - (Assign (Var p_3d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_mat) + ((static false) (constexpr false) (type_ Auto) (name p_3d_row_vec) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 5) (Literal 4) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 15))) - (Expression - (Assign (Var p_mat) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Literal 5) (Literal 4))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)))) - (name p_ar_mat) + ((static false) (constexpr false) (type_ Auto) (name p_mat) (init (Assignment - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - ((Literal 4) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Literal 5) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 2) (Literal 3) (Var DUMMY_VAR__))))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + ((Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 16))) - (Expression - (Assign (Var p_ar_mat) - (MethodCall (Var in__) "template read_constrain_lub" - ((StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - (TemplateType jacobian__)) - ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) - (Literal 2) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name p_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_ar_mat) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_lub" + ((StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) + (TemplateType jacobian__)) + ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) + (Literal 2) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 17))) - (Expression - (Assign (Var p_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - (name p_1d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_simplex) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 18))) - (Expression - (Assign (Var p_1d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - (name p_3d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_1d_simplex) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 19))) - (Expression - (Assign (Var p_3d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_cfcov_54) + ((static false) (constexpr false) (type_ Auto) (name p_3d_simplex) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 5) (Literal 4) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 20))) - (Expression - (Assign (Var p_cfcov_54) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 5) (Literal 4))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_cfcov_33) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_54) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 3) (Literal 3) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 21))) - (Expression - (Assign (Var p_cfcov_33) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - (name p_cfcov_33_ar) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Var K) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 3) (Literal 3) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 22))) - (Expression - (Assign (Var p_cfcov_33_ar) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var K) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name x_p) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33_ar) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Literal 2) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var K) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 23))) - (Expression - (Assign (Var x_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name y_p) + ((static false) (constexpr false) (type_ Auto) (name x_p) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Literal 2) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (Expression (Assign (Var current_statement__) (Literal 24))) - (Expression - (Assign (Var y_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) + (VariableDefn + ((static false) (constexpr false) (type_ Auto) (name y_p) + (init + (Assignment + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (VariableDefn ((static false) (constexpr false) (type_ (StdVector (TypeLiteral local_scalar_t__))) (name tp_real_1d_ar) @@ -7321,414 +7121,214 @@ (Comment "suppress unused var warning") (Expression (Cast Void (Var function__))) (TryCatch - ((VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_real) (init (Assignment (Var DUMMY_VAR__))))) - (Expression (Assign (Var current_statement__) (Literal 1))) - (Expression - (Assign (Var p_real) - (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) - ()))) + ((Expression (Assign (Var current_statement__) (Literal 1))) (VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_upper) (init (Assignment (Var DUMMY_VAR__))))) + ((static false) (constexpr false) (type_ Auto) (name p_real) + (init + (Assignment + (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) + ()))))) (Expression (Assign (Var current_statement__) (Literal 2))) - (Expression - (Assign (Var p_upper) - (MethodCall (Var in__) "template read_constrain_lb" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_real) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) (type_ (TypeLiteral local_scalar_t__)) - (name p_lower) (init (Assignment (Var DUMMY_VAR__))))) + ((static false) (constexpr false) (type_ Auto) (name p_upper) + (init + (Assignment + (MethodCall (Var in__) "template read_constrain_lb" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_real) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 3))) - (Expression - (Assign (Var p_lower) - (MethodCall (Var in__) "template read_constrain_ub" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_upper) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name p_lower) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_ub" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_upper) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 4))) - (Expression - (Assign (Var offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name no_offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name offset_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 5))) - (Expression - (Assign (Var no_offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) - (name offset_no_multiplier) + ((static false) (constexpr false) (type_ Auto) (name no_offset_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Literal 5) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 6))) - (Expression - (Assign (Var offset_no_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (TypeLiteral local_scalar_t__))) (name p_real_1d_ar) + ((static false) (constexpr false) (type_ Auto) (name offset_no_multiplier) (init (Assignment - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 7))) - (Expression - (Assign (Var p_real_1d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__))))) - (name p_real_3d_ar) + ((static false) (constexpr false) (type_ Auto) (name p_real_1d_ar) (init (Assignment - (Constructor - (StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) - ((Var N) - (Constructor (StdVector (StdVector (TypeLiteral local_scalar_t__))) - ((Var M) - (Constructor (StdVector (TypeLiteral local_scalar_t__)) - ((Var K) (Var DUMMY_VAR__))))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 8))) - (Expression - (Assign (Var p_real_3d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name p_vec) + ((static false) (constexpr false) (type_ Auto) (name p_real_3d_ar) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))))) (Expression (Assign (Var current_statement__) (Literal 9))) - (Expression - (Assign (Var p_vec) - (MethodCall (Var in__) "template read_constrain_lb" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - (name p_1d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_vec) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 10))) - (Expression - (Assign (Var p_1d_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - (name p_3d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_vec) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 11))) - (Expression - (Assign (Var p_3d_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - (name p_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_3d_vec) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 12))) - (Expression - (Assign (Var p_row_vec) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) ((Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - (name p_1d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_row_vec) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) + ((Var N))))))) (Expression (Assign (Var current_statement__) (Literal 13))) - (Expression - (Assign (Var p_1d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) - (name p_3d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_row_vec) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 14))) - (Expression - (Assign (Var p_3d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_mat) + ((static false) (constexpr false) (type_ Auto) (name p_3d_row_vec) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 5) (Literal 4) (Var DUMMY_VAR__))))))) - (Expression (Assign (Var current_statement__) (Literal 15))) - (Expression - (Assign (Var p_mat) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Literal 5) (Literal 4))))) - (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)))) - (name p_ar_mat) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) + (Expression (Assign (Var current_statement__) (Literal 15))) + (VariableDefn + ((static false) (constexpr false) (type_ Auto) (name p_mat) (init (Assignment - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - ((Literal 4) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Literal 5) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 2) (Literal 3) (Var DUMMY_VAR__))))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + ((Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 16))) - (Expression - (Assign (Var p_ar_mat) - (MethodCall (Var in__) "template read_constrain_lub" - ((StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - (TemplateType jacobian__)) - ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) - (Literal 2) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name p_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_ar_mat) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_lub" + ((StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) + (TemplateType jacobian__)) + ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) + (Literal 2) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 17))) - (Expression - (Assign (Var p_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - (name p_1d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_simplex) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Var N) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 18))) - (Expression - (Assign (Var p_1d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - (name p_3d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_1d_simplex) (init (Assignment - (Constructor - (StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - ((Var N) - (Constructor - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var M) - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - ((Var K) - (StaticMethodCall - (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) Constant () - ((Var N) (Var DUMMY_VAR__))))))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 19))) - (Expression - (Assign (Var p_3d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_cfcov_54) + ((static false) (constexpr false) (type_ Auto) (name p_3d_simplex) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 5) (Literal 4) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 20))) - (Expression - (Assign (Var p_cfcov_54) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 5) (Literal 4))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (name p_cfcov_33) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_54) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 3) (Literal 3) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 21))) - (Expression - (Assign (Var p_cfcov_33) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - (name p_cfcov_33_ar) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33) (init (Assignment - (Constructor - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Var K) - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - Constant () ((Literal 3) (Literal 3) (Var DUMMY_VAR__))))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 22))) - (Expression - (Assign (Var p_cfcov_33_ar) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var K) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name x_p) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33_ar) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Literal 2) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var K) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 23))) - (Expression - (Assign (Var x_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) (VariableDefn - ((static false) (constexpr false) - (type_ (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (name y_p) + ((static false) (constexpr false) (type_ Auto) (name x_p) (init (Assignment - (StaticMethodCall (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - Constant () ((Literal 2) (Var DUMMY_VAR__))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (Expression (Assign (Var current_statement__) (Literal 24))) - (Expression - (Assign (Var y_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) + (VariableDefn + ((static false) (constexpr false) (type_ Auto) (name y_p) + (init + (Assignment + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (VariableDefn ((static false) (constexpr false) (type_ (StdVector (TypeLiteral local_scalar_t__))) (name tp_real_1d_ar) @@ -8492,368 +8092,214 @@ (Comment "suppress unused var warning") (Expression (Cast Void (Var function__))) (TryCatch - ((VariableDefn - ((static false) (constexpr false) (type_ Double) (name p_real) - (init - (Assignment (FunCall std::numeric_limits::quiet_NaN () ()))))) - (Expression (Assign (Var current_statement__) (Literal 1))) - (Expression - (Assign (Var p_real) - (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) - ()))) + ((Expression (Assign (Var current_statement__) (Literal 1))) (VariableDefn - ((static false) (constexpr false) (type_ Double) (name p_upper) + ((static false) (constexpr false) (type_ Auto) (name p_real) (init - (Assignment (FunCall std::numeric_limits::quiet_NaN () ()))))) + (Assignment + (MethodCall (Var in__) "template read" ((TypeLiteral local_scalar_t__)) + ()))))) (Expression (Assign (Var current_statement__) (Literal 2))) - (Expression - (Assign (Var p_upper) - (MethodCall (Var in__) "template read_constrain_lb" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_real) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) (type_ Double) (name p_lower) + ((static false) (constexpr false) (type_ Auto) (name p_upper) (init - (Assignment (FunCall std::numeric_limits::quiet_NaN () ()))))) + (Assignment + (MethodCall (Var in__) "template read_constrain_lb" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_real) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 3))) - (Expression - (Assign (Var p_lower) - (MethodCall (Var in__) "template read_constrain_ub" - ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) - ((Var p_upper) (Var lp__))))) (VariableDefn - ((static false) (constexpr false) (type_ (StdVector Double)) - (name offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name p_lower) (init (Assignment - (Constructor (StdVector Double) - ((Literal 5) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_ub" + ((TypeLiteral local_scalar_t__) (TemplateType jacobian__)) + ((Var p_upper) (Var lp__))))))) (Expression (Assign (Var current_statement__) (Literal 4))) - (Expression - (Assign (Var offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) (type_ (StdVector Double)) - (name no_offset_multiplier) + ((static false) (constexpr false) (type_ Auto) (name offset_multiplier) (init (Assignment - (Constructor (StdVector Double) - ((Literal 5) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 1) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 5))) - (Expression - (Assign (Var no_offset_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) (type_ (StdVector Double)) - (name offset_no_multiplier) + ((static false) (constexpr false) (type_ Auto) (name no_offset_multiplier) (init (Assignment - (Constructor (StdVector Double) - ((Literal 5) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Literal 2) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 6))) - (Expression - (Assign (Var offset_no_multiplier) - (MethodCall (Var in__) "template read_constrain_offset_multiplier" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))) (VariableDefn - ((static false) (constexpr false) (type_ (StdVector Double)) - (name p_real_1d_ar) + ((static false) (constexpr false) (type_ Auto) (name offset_no_multiplier) (init (Assignment - (Constructor (StdVector Double) - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_offset_multiplier" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 3) (Literal 1) (Var lp__) (Literal 5))))))) (Expression (Assign (Var current_statement__) (Literal 7))) - (Expression - (Assign (Var p_real_1d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (StdVector (StdVector Double)))) (name p_real_3d_ar) + ((static false) (constexpr false) (type_ Auto) (name p_real_1d_ar) (init (Assignment - (Constructor (StdVector (StdVector (StdVector Double))) - ((Var N) - (Constructor (StdVector (StdVector Double)) - ((Var M) - (Constructor (StdVector Double) - ((Var K) (FunCall std::numeric_limits::quiet_NaN () ()))))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (TypeLiteral local_scalar_t__)) (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 8))) - (Expression - (Assign (Var p_real_3d_ar) - (MethodCall (Var in__) "template read_constrain_lb" - ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 1 AoS)) - (name p_vec) + ((static false) (constexpr false) (type_ Auto) (name p_real_3d_ar) (init (Assignment - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((StdVector (StdVector (StdVector (TypeLiteral local_scalar_t__)))) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N) (Var M) (Var K))))))) (Expression (Assign (Var current_statement__) (Literal 9))) - (Expression - (Assign (Var p_vec) - (MethodCall (Var in__) "template read_constrain_lb" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Literal 0) (Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix Double -1 1 AoS))) (name p_1d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_vec) (init (Assignment - (Constructor (StdVector (Matrix Double -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))) + (MethodCall (Var in__) "template read_constrain_lb" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Literal 0) (Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 10))) - (Expression - (Assign (Var p_1d_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (StdVector (StdVector (Matrix Double -1 1 AoS))))) - (name p_3d_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_vec) (init (Assignment - (Constructor - (StdVector (StdVector (StdVector (Matrix Double -1 1 AoS)))) - ((Var N) - (Constructor (StdVector (StdVector (Matrix Double -1 1 AoS))) - ((Var M) - (Constructor (StdVector (Matrix Double -1 1 AoS)) - ((Var K) - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 11))) - (Expression - (Assign (Var p_3d_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double 1 -1 AoS)) - (name p_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_3d_vec) (init (Assignment - (StaticMethodCall (Matrix Double 1 -1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 12))) - (Expression - (Assign (Var p_row_vec) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) ((Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix Double 1 -1 AoS))) (name p_1d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_row_vec) (init (Assignment - (Constructor (StdVector (Matrix Double 1 -1 AoS)) - ((Var N) - (StaticMethodCall (Matrix Double 1 -1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS)) + ((Var N))))))) (Expression (Assign (Var current_statement__) (Literal 13))) - (Expression - (Assign (Var p_1d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) - ((Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (StdVector (StdVector (Matrix Double 1 -1 AoS))))) - (name p_3d_row_vec) + ((static false) (constexpr false) (type_ Auto) (name p_1d_row_vec) (init (Assignment - (Constructor - (StdVector (StdVector (StdVector (Matrix Double 1 -1 AoS)))) - ((Var N) - (Constructor (StdVector (StdVector (Matrix Double 1 -1 AoS))) - ((Var M) - (Constructor (StdVector (Matrix Double 1 -1 AoS)) - ((Var K) - (StaticMethodCall (Matrix Double 1 -1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))))))) + (MethodCall (Var in__) "template read" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))) + ((Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 14))) - (Expression - (Assign (Var p_3d_row_vec) - (MethodCall (Var in__) "template read" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) - ((Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 -1 AoS)) - (name p_mat) + ((static false) (constexpr false) (type_ Auto) (name p_3d_row_vec) (init (Assignment - (StaticMethodCall (Matrix Double -1 -1 AoS) Constant () - ((Literal 5) (Literal 4) - (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) 1 -1 AoS))))) + ((Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 15))) - (Expression - (Assign (Var p_mat) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - ((Literal 5) (Literal 4))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (StdVector (Matrix Double -1 -1 AoS)))) - (name p_ar_mat) + ((static false) (constexpr false) (type_ Auto) (name p_mat) (init (Assignment - (Constructor (StdVector (StdVector (Matrix Double -1 -1 AoS))) - ((Literal 4) - (Constructor (StdVector (Matrix Double -1 -1 AoS)) - ((Literal 5) - (StaticMethodCall (Matrix Double -1 -1 AoS) Constant () - ((Literal 2) (Literal 3) - (FunCall std::numeric_limits::quiet_NaN () ()))))))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + ((Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 16))) - (Expression - (Assign (Var p_ar_mat) - (MethodCall (Var in__) "template read_constrain_lub" - ((StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) - (TemplateType jacobian__)) - ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) - (Literal 2) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 1 AoS)) - (name p_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_ar_mat) (init (Assignment - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_lub" + ((StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS))) + (TemplateType jacobian__)) + ((Literal 0) (Literal 1) (Var lp__) (Literal 4) (Literal 5) + (Literal 2) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 17))) - (Expression - (Assign (Var p_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix Double -1 1 AoS))) (name p_1d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_simplex) (init (Assignment - (Constructor (StdVector (Matrix Double -1 1 AoS)) - ((Var N) - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 18))) - (Expression - (Assign (Var p_1d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var N))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (StdVector (StdVector (Matrix Double -1 1 AoS))))) - (name p_3d_simplex) + ((static false) (constexpr false) (type_ Auto) (name p_1d_simplex) (init (Assignment - (Constructor - (StdVector (StdVector (StdVector (Matrix Double -1 1 AoS)))) - ((Var N) - (Constructor (StdVector (StdVector (Matrix Double -1 1 AoS))) - ((Var M) - (Constructor (StdVector (Matrix Double -1 1 AoS)) - ((Var K) - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Var N) (FunCall std::numeric_limits::quiet_NaN () ()))))))))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 19))) - (Expression - (Assign (Var p_3d_simplex) - (MethodCall (Var in__) "template read_constrain_simplex" - ((StdVector - (StdVector - (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) - (TemplateType jacobian__)) - ((Var lp__) (Var N) (Var M) (Var K) (Var N))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 -1 AoS)) - (name p_cfcov_54) + ((static false) (constexpr false) (type_ Auto) (name p_3d_simplex) (init (Assignment - (StaticMethodCall (Matrix Double -1 -1 AoS) Constant () - ((Literal 5) (Literal 4) - (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_simplex" + ((StdVector + (StdVector + (StdVector (Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)))) + (TemplateType jacobian__)) + ((Var lp__) (Var N) (Var M) (Var K) (Var N))))))) (Expression (Assign (Var current_statement__) (Literal 20))) - (Expression - (Assign (Var p_cfcov_54) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 5) (Literal 4))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 -1 AoS)) - (name p_cfcov_33) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_54) (init (Assignment - (StaticMethodCall (Matrix Double -1 -1 AoS) Constant () - ((Literal 3) (Literal 3) - (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 5) (Literal 4))))))) (Expression (Assign (Var current_statement__) (Literal 21))) - (Expression - (Assign (Var p_cfcov_33) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) - (TemplateType jacobian__)) - ((Var lp__) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) - (type_ (StdVector (Matrix Double -1 -1 AoS))) (name p_cfcov_33_ar) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33) (init (Assignment - (Constructor (StdVector (Matrix Double -1 -1 AoS)) - ((Var K) - (StaticMethodCall (Matrix Double -1 -1 AoS) Constant () - ((Literal 3) (Literal 3) - (FunCall std::numeric_limits::quiet_NaN () ()))))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS) + (TemplateType jacobian__)) + ((Var lp__) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 22))) - (Expression - (Assign (Var p_cfcov_33_ar) - (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" - ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) - (TemplateType jacobian__)) - ((Var lp__) (Var K) (Literal 3) (Literal 3))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 1 AoS)) - (name x_p) + ((static false) (constexpr false) (type_ Auto) (name p_cfcov_33_ar) (init (Assignment - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Literal 2) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read_constrain_cholesky_factor_cov" + ((StdVector (Matrix (TypeLiteral local_scalar_t__) -1 -1 AoS)) + (TemplateType jacobian__)) + ((Var lp__) (Var K) (Literal 3) (Literal 3))))))) (Expression (Assign (Var current_statement__) (Literal 23))) - (Expression - (Assign (Var x_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) (VariableDefn - ((static false) (constexpr false) (type_ (Matrix Double -1 1 AoS)) - (name y_p) + ((static false) (constexpr false) (type_ Auto) (name x_p) (init (Assignment - (StaticMethodCall (Matrix Double -1 1 AoS) Constant () - ((Literal 2) (FunCall std::numeric_limits::quiet_NaN () ()))))))) + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (Expression (Assign (Var current_statement__) (Literal 24))) - (Expression - (Assign (Var y_p) - (MethodCall (Var in__) "template read" - ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) ((Literal 2))))) + (VariableDefn + ((static false) (constexpr false) (type_ Auto) (name y_p) + (init + (Assignment + (MethodCall (Var in__) "template read" + ((Matrix (TypeLiteral local_scalar_t__) -1 1 AoS)) + ((Literal 2))))))) (VariableDefn ((static false) (constexpr false) (type_ (StdVector Double)) (name tp_real_1d_ar) diff --git a/test/integration/good/code-gen/mir.expected b/test/integration/good/code-gen/mir.expected index 6a27e3c6e..f1ae85ae2 100644 --- a/test/integration/good/code-gen/mir.expected +++ b/test/integration/good/code-gen/mir.expected @@ -56,7 +56,7 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -334,7 +334,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable b) ()) UInt @@ -412,11 +412,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -438,7 +438,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -485,7 +485,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -532,7 +532,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -571,7 +571,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id vv) (decl_type (Unsized UInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable vv) ()) UInt @@ -619,7 +619,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -630,7 +630,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -676,7 +676,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -763,7 +763,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -810,7 +810,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -819,7 +819,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -839,7 +839,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -889,7 +889,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -926,7 +926,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -935,7 +935,7 @@ (SRowVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -956,7 +956,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -1007,7 +1007,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -1044,7 +1044,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable b) ()) UInt @@ -1055,7 +1055,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id c) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable c) ()) UInt @@ -1085,11 +1085,11 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -1109,7 +1109,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UInt @@ -1205,11 +1205,11 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id abs_diff) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id avg_scale) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable abs_diff) ()) UReal @@ -1435,7 +1435,7 @@ (((pattern (Var mat)) (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable o) ()) UMatrix @@ -1728,11 +1728,11 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id a) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id c) @@ -1744,7 +1744,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 20)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ar_mat) @@ -1761,7 +1761,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 60)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2196,7 +2196,7 @@ (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l) ()) UVector @@ -2227,7 +2227,7 @@ (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l) ()) UVector @@ -2341,7 +2341,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2418,7 +2418,7 @@ (SVector AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2733,7 +2733,8 @@ ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) (prepare_data (((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2747,7 +2748,8 @@ (((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2761,7 +2763,8 @@ (((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2806,7 +2809,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2852,7 +2855,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2870,7 +2873,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id J) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -2919,7 +2922,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -2952,7 +2955,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -2967,7 +2970,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -2991,7 +2994,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3033,7 +3036,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3048,7 +3051,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3072,7 +3075,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3114,7 +3117,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id d_ar_mat) @@ -3129,7 +3132,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3170,7 +3173,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3203,7 +3206,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3254,7 +3257,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3273,7 +3276,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3291,7 +3294,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3318,7 +3321,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -3331,7 +3334,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id d_int) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3347,7 +3350,7 @@ (Sized (SArray SInt ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3365,7 +3368,7 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3386,11 +3389,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id d_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3406,7 +3409,7 @@ (Sized (SArray SReal ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3424,7 +3427,7 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3445,7 +3448,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3470,7 +3473,7 @@ (SMatrix AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3505,7 +3508,7 @@ ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3544,7 +3547,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3586,7 +3589,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3602,7 +3605,7 @@ (Sized (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3628,7 +3631,7 @@ (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3657,7 +3660,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3689,7 +3692,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3705,7 +3708,7 @@ (Sized (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3731,7 +3734,7 @@ (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3760,7 +3763,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3792,11 +3795,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_int) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3811,7 +3814,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3826,7 +3829,7 @@ (Sized (SArray SInt ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_1dk) ()) (UArray UInt) @@ -3838,7 +3841,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_a) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_a) ()) UInt @@ -3846,7 +3849,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_b) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_b) ()) UReal @@ -3862,7 +3865,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_c) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_c) ()) UReal @@ -3884,7 +3887,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3899,7 +3902,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3923,7 +3926,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -3965,7 +3968,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_cfcov_54) @@ -3974,7 +3977,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_cfcov_33) @@ -3983,7 +3986,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x) @@ -3991,7 +3994,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id y) @@ -3999,7 +4002,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id dat) @@ -4007,7 +4010,7 @@ (Sized (SArray SReal ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id dat_int) @@ -4015,7 +4018,7 @@ (Sized (SArray SInt ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_r) @@ -4025,7 +4028,7 @@ (SArray SReal ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_i) @@ -4035,7 +4038,7 @@ (SArray SInt ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_int) ()) UInt @@ -4293,7 +4296,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l_mat) ()) UMatrix @@ -4374,7 +4377,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id blocked_tdata_vs) @@ -4383,7 +4386,7 @@ (SRowVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -4403,7 +4406,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -4435,7 +4438,7 @@ (SArray SInt ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable indices) ()) (UArray UInt) @@ -4455,7 +4458,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id sym1__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UArray UInt) @@ -4488,7 +4491,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id i) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable i) ()) UInt @@ -4574,7 +4577,7 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -4597,7 +4600,7 @@ (Sized (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x_mul_ind) ()) (UArray UReal) @@ -4619,7 +4622,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id transformed_data_real) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4635,7 +4638,7 @@ (Sized (SArray SReal ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4653,7 +4656,7 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4674,7 +4677,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4699,7 +4702,7 @@ (SMatrix AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4734,7 +4737,7 @@ ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4773,7 +4776,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4815,7 +4818,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4831,7 +4834,7 @@ (Sized (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4857,7 +4860,7 @@ (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4886,7 +4889,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4918,7 +4921,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4934,7 +4937,7 @@ (Sized (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4960,7 +4963,7 @@ (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -4989,7 +4992,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -5021,7 +5024,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable transformed_data_real) ()) UReal @@ -6792,15 +6795,15 @@ (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_multiplier) @@ -6808,7 +6811,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id no_offset_multiplier) @@ -6816,7 +6819,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_no_multiplier) @@ -6824,7 +6827,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_1d_ar) @@ -6832,7 +6835,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar) @@ -6844,7 +6847,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_vec) @@ -6852,7 +6855,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) @@ -6862,7 +6865,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) @@ -6876,7 +6879,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) @@ -6884,7 +6887,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) @@ -6894,7 +6897,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) @@ -6908,7 +6911,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_mat) @@ -6917,7 +6920,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) @@ -6932,7 +6935,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) @@ -6940,7 +6943,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) @@ -6950,7 +6953,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) @@ -6964,7 +6967,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) @@ -6973,7 +6976,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) @@ -6982,7 +6985,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) @@ -6993,7 +6996,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_p) @@ -7001,7 +7004,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_p) @@ -7009,7 +7012,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) @@ -7017,7 +7020,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) @@ -7029,7 +7032,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) @@ -7037,7 +7040,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) @@ -7047,7 +7050,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) @@ -7061,7 +7064,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) @@ -7069,7 +7072,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) @@ -7079,7 +7082,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) @@ -7093,7 +7096,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_mat) @@ -7102,7 +7105,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) @@ -7117,7 +7120,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) @@ -7125,7 +7128,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) @@ -7135,7 +7138,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) @@ -7149,7 +7152,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) @@ -7158,7 +7161,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) @@ -7167,7 +7170,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) @@ -7178,7 +7181,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta_p) @@ -7186,11 +7189,11 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_1d_ar) ()) (UArray UReal) @@ -7751,7 +7754,7 @@ (SVector AoS ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tmp2) @@ -7763,11 +7766,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r1) ()) UReal @@ -7779,7 +7782,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r2) ()) UReal @@ -8544,15 +8547,15 @@ (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id offset_multiplier) @@ -8560,7 +8563,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id no_offset_multiplier) @@ -8568,7 +8571,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id offset_no_multiplier) @@ -8576,7 +8579,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_real_1d_ar) @@ -8584,7 +8587,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_real_3d_ar) @@ -8596,7 +8599,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_vec) @@ -8604,7 +8607,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_vec) @@ -8614,7 +8617,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_vec) @@ -8628,7 +8631,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_row_vec) @@ -8636,7 +8639,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_row_vec) @@ -8646,7 +8649,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_row_vec) @@ -8660,7 +8663,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_mat) @@ -8669,7 +8672,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_ar_mat) @@ -8684,7 +8687,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_simplex) @@ -8692,7 +8695,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_simplex) @@ -8702,7 +8705,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_simplex) @@ -8716,7 +8719,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_54) @@ -8725,7 +8728,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33) @@ -8734,7 +8737,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_ar) @@ -8745,7 +8748,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_p) @@ -8753,7 +8756,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id y_p) @@ -8761,7 +8764,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_1d_ar) @@ -8769,7 +8772,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_3d_ar) @@ -8781,7 +8784,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_vec) @@ -8789,7 +8792,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_vec) @@ -8799,7 +8802,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_vec) @@ -8813,7 +8816,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_row_vec) @@ -8821,7 +8824,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_row_vec) @@ -8831,7 +8834,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_row_vec) @@ -8845,7 +8848,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_mat) @@ -8854,7 +8857,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_ar_mat) @@ -8869,7 +8872,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_simplex) @@ -8877,7 +8880,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_simplex) @@ -8887,7 +8890,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_simplex) @@ -8901,7 +8904,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_54) @@ -8910,7 +8913,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33) @@ -8919,7 +8922,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33_ar) @@ -8930,7 +8933,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id theta_p) @@ -8938,11 +8941,11 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (IfElse @@ -9515,7 +9518,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_r1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_r1) ()) UReal @@ -9527,7 +9530,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_r2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_r2) ()) UReal @@ -9542,7 +9545,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_real_3d_ar) @@ -9554,7 +9557,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_vec) @@ -9562,7 +9565,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_vec) @@ -9572,7 +9575,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_vec) @@ -9586,7 +9589,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_row_vec) @@ -9594,7 +9597,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_row_vec) @@ -9604,7 +9607,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_row_vec) @@ -9618,7 +9621,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_ar_mat) @@ -9633,7 +9636,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_simplex) @@ -9641,7 +9644,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_simplex) @@ -9651,7 +9654,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_simplex) @@ -9665,7 +9668,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_54) @@ -9674,7 +9677,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33) @@ -9683,7 +9686,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33_ar) @@ -9694,7 +9697,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id indices) @@ -9702,7 +9705,7 @@ (Sized (SArray SInt ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable indices) ()) (UArray UInt) @@ -9722,7 +9725,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res1) @@ -9733,7 +9736,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res2) @@ -9744,7 +9747,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res3) @@ -9755,7 +9758,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res11) @@ -9766,7 +9769,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res21) @@ -9777,7 +9780,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res31) @@ -9788,7 +9791,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res4) @@ -9798,7 +9801,7 @@ (SRowVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res5) @@ -9808,7 +9811,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_real_1d_ar) ()) (UArray UReal) diff --git a/test/integration/good/code-gen/ode/cpp.expected b/test/integration/good/code-gen/ode/cpp.expected index 9768fa933..4cc9d5500 100644 --- a/test/integration/good/code-gen/ode/cpp.expected +++ b/test/integration/good/code-gen/ode/cpp.expected @@ -332,20 +332,14 @@ class ode_adjoint_test_model_model final : public model_base_crtp(); - Eigen::Matrix y0 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y = in__.template read(); current_statement__ = 2; - y0 = in__.template read>(N); - local_scalar_t__ t0 = DUMMY_VAR__; + auto y0 = in__.template read>(N); current_statement__ = 3; - t0 = in__.template read(); - std::vector times = - std::vector(N, DUMMY_VAR__); + auto t0 = in__.template read(); current_statement__ = 4; - times = in__.template read>(N); + auto times = in__.template read>(N); std::vector> z = std::vector>(M, Eigen::Matrix::Constant(N, DUMMY_VAR__)); @@ -404,20 +398,14 @@ class ode_adjoint_test_model_model final : public model_base_crtp(); - Eigen::Matrix y0 = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto y = in__.template read(); current_statement__ = 2; - y0 = in__.template read>(N); - local_scalar_t__ t0 = DUMMY_VAR__; + auto y0 = in__.template read>(N); current_statement__ = 3; - t0 = in__.template read(); - std::vector times = - std::vector(N, DUMMY_VAR__); + auto t0 = in__.template read(); current_statement__ = 4; - times = in__.template read>(N); + auto times = in__.template read>(N); std::vector> z = std::vector>(M, Eigen::Matrix::Constant(N, DUMMY_VAR__)); @@ -487,21 +475,14 @@ class ode_adjoint_test_model_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - y = in__.template read(); - Eigen::Matrix y0 = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto y = in__.template read(); current_statement__ = 2; - y0 = in__.template read>(N); - double t0 = std::numeric_limits::quiet_NaN(); + auto y0 = in__.template read>(N); current_statement__ = 3; - t0 = in__.template read(); - std::vector times = - std::vector(N, std::numeric_limits::quiet_NaN()); + auto t0 = in__.template read(); current_statement__ = 4; - times = in__.template read>(N); + auto times = in__.template read>(N); std::vector> z = std::vector>(M, Eigen::Matrix::Constant(N, @@ -1258,22 +1239,22 @@ class overloaded_ode_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ beta = DUMMY_VAR__; current_statement__ = 1; - beta = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, Eigen::Matrix::Constant(4, DUMMY_VAR__)); @@ -1390,22 +1371,22 @@ class overloaded_ode_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ beta = DUMMY_VAR__; current_statement__ = 1; - beta = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, Eigen::Matrix::Constant(4, DUMMY_VAR__)); @@ -1533,22 +1514,22 @@ class overloaded_ode_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double beta = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - beta = in__.template read_constrain_lb(0, - lp__); - double gamma = std::numeric_limits::quiet_NaN(); + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - double xi = std::numeric_limits::quiet_NaN(); + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - double delta = std::numeric_limits::quiet_NaN(); + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, Eigen::Matrix::Constant(4, diff --git a/test/integration/good/code-gen/opencl/cpp.expected b/test/integration/good/code-gen/opencl/cpp.expected index 34d5a1bb6..512d369fe 100644 --- a/test/integration/good/code-gen/opencl/cpp.expected +++ b/test/integration/good/code-gen/opencl/cpp.expected @@ -933,32 +933,23 @@ class distributions_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, DUMMY_VAR__); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - DUMMY_VAR__); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - local_scalar_t__ y_p = DUMMY_VAR__; + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); local_scalar_t__ transformed_param_real = DUMMY_VAR__; current_statement__ = 8; transformed_param_real = stan::math::bernoulli_logit_lpmf(d_int, @@ -3989,32 +3980,23 @@ class distributions_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, DUMMY_VAR__); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - DUMMY_VAR__); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - local_scalar_t__ y_p = DUMMY_VAR__; + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); local_scalar_t__ transformed_param_real = DUMMY_VAR__; current_statement__ = 8; transformed_param_real = stan::math::bernoulli_logit_lpmf(d_int, @@ -7056,34 +7038,23 @@ class distributions_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double p_real = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, std::numeric_limits::quiet_NaN()); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - std::numeric_limits::quiet_NaN()); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, - std::numeric_limits::quiet_NaN()); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, - std::numeric_limits::quiet_NaN()); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - double y_p = std::numeric_limits::quiet_NaN(); + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); double transformed_param_real = std::numeric_limits::quiet_NaN(); out__.write(p_real); @@ -10644,32 +10615,23 @@ class restricted_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, DUMMY_VAR__); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - DUMMY_VAR__); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - local_scalar_t__ y_p = DUMMY_VAR__; + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); local_scalar_t__ transformed_param_real = DUMMY_VAR__; current_statement__ = 8; transformed_param_real = stan::math::bernoulli_lpmf(d_int_array, @@ -10753,32 +10715,23 @@ class restricted_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ p_real = DUMMY_VAR__; current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, DUMMY_VAR__); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - DUMMY_VAR__); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, DUMMY_VAR__); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - local_scalar_t__ y_p = DUMMY_VAR__; + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); local_scalar_t__ transformed_param_real = DUMMY_VAR__; current_statement__ = 8; transformed_param_real = stan::math::bernoulli_lpmf(d_int_array, @@ -10873,34 +10826,23 @@ class restricted_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double p_real = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - p_real = in__.template read(); - std::vector p_real_array = - std::vector(d_int, std::numeric_limits::quiet_NaN()); + auto p_real = in__.template read(); current_statement__ = 2; - p_real_array = in__.template read>(d_int); - Eigen::Matrix p_matrix = - Eigen::Matrix::Constant(d_int, d_int, - std::numeric_limits::quiet_NaN()); + auto p_real_array = + in__.template read>(d_int); current_statement__ = 3; - p_matrix = in__.template read< - Eigen::Matrix>(d_int, d_int); - Eigen::Matrix p_vector = - Eigen::Matrix::Constant(d_int, - std::numeric_limits::quiet_NaN()); + auto p_matrix = + in__.template read>(d_int, + d_int); current_statement__ = 4; - p_vector = in__.template read< - Eigen::Matrix>(d_int); - Eigen::Matrix p_row_vector = - Eigen::Matrix::Constant(d_int, - std::numeric_limits::quiet_NaN()); + auto p_vector = + in__.template read>(d_int); current_statement__ = 5; - p_row_vector = in__.template read< - Eigen::Matrix>(d_int); - double y_p = std::numeric_limits::quiet_NaN(); + auto p_row_vector = + in__.template read>(d_int); current_statement__ = 6; - y_p = in__.template read(); + auto y_p = in__.template read(); double transformed_param_real = std::numeric_limits::quiet_NaN(); out__.write(p_real); diff --git a/test/integration/good/code-gen/profiling/cpp.expected b/test/integration/good/code-gen/profiling/cpp.expected index 8606ba9fc..ab429f09b 100644 --- a/test/integration/good/code-gen/profiling/cpp.expected +++ b/test/integration/good/code-gen/profiling/cpp.expected @@ -144,18 +144,18 @@ class simple_function_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto rho = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - alpha = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma = DUMMY_VAR__; + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; stan::math::validate_non_negative_index("cov", "N", N); @@ -244,18 +244,18 @@ class simple_function_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ alpha = DUMMY_VAR__; + auto rho = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - alpha = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma = DUMMY_VAR__; + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; stan::math::validate_non_negative_index("cov", "N", N); @@ -355,18 +355,18 @@ class simple_function_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - rho = in__.template read_constrain_lb(0, - lp__); - double alpha = std::numeric_limits::quiet_NaN(); + auto rho = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - alpha = in__.template read_constrain_lb(0, lp__); - double sigma = std::numeric_limits::quiet_NaN(); + auto alpha = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma = in__.template read_constrain_lb(0, lp__); + auto sigma = + in__.template read_constrain_lb(0, + lp__); out__.write(rho); out__.write(alpha); out__.write(sigma); diff --git a/test/integration/good/code-gen/profiling/transformed_mir.expected b/test/integration/good/code-gen/profiling/transformed_mir.expected index c55c98aad..31ba87f72 100644 --- a/test/integration/good/code-gen/profiling/transformed_mir.expected +++ b/test/integration/good/code-gen/profiling/transformed_mir.expected @@ -24,14 +24,15 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -70,7 +71,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) (UArray UReal) @@ -92,13 +93,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable y_flat__) ()) (UArray UReal) @@ -153,7 +154,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sum_y) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Profile "\"sum\"" @@ -169,57 +170,51 @@ (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id rho) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable rho) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -246,7 +241,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -271,7 +266,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Profile "\"cov_exp_quad\"" @@ -406,57 +401,51 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id rho) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable rho) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -483,7 +472,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -508,7 +497,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Profile "\"cov_exp_quad\"" @@ -643,57 +632,51 @@ (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id rho) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable rho) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -745,7 +728,7 @@ (transform_inits (((pattern (Decl (decl_adtype AutoDiffable) (decl_id rho) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable rho) ()) UReal @@ -775,7 +758,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -805,7 +788,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal @@ -836,7 +819,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id rho) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable rho) ()) UReal @@ -857,7 +840,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -878,7 +861,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal diff --git a/test/integration/good/code-gen/transformed_mir.expected b/test/integration/good/code-gen/transformed_mir.expected index ffb30e428..a079d169b 100644 --- a/test/integration/good/code-gen/transformed_mir.expected +++ b/test/integration/good/code-gen/transformed_mir.expected @@ -59,7 +59,7 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -337,7 +337,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable b) ()) UInt @@ -425,11 +425,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -451,7 +451,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -498,7 +498,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -545,7 +545,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) (UArray UInt) @@ -584,7 +584,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id vv) (decl_type (Unsized UInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable vv) ()) UInt @@ -632,7 +632,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -643,7 +643,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -689,7 +689,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -776,7 +776,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -823,7 +823,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -832,7 +832,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -852,7 +852,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -902,7 +902,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -939,7 +939,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id vs) @@ -948,7 +948,7 @@ (SRowVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -969,7 +969,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -1020,7 +1020,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id v) - (decl_type (Unsized UReal)) (initialize true))) + (decl_type (Unsized UReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -1057,7 +1057,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable b) ()) UInt @@ -1068,7 +1068,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id c) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable c) ()) UInt @@ -1098,11 +1098,11 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -1122,7 +1122,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UInt @@ -1218,11 +1218,11 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id abs_diff) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id avg_scale) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable abs_diff) ()) UReal @@ -1454,7 +1454,7 @@ (((pattern (Var mat)) (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable o) ()) UMatrix @@ -1747,11 +1747,11 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id a) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id b) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id c) @@ -1763,7 +1763,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 20)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ar_mat) @@ -1780,7 +1780,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 60)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2215,7 +2215,7 @@ (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l) ()) UVector @@ -2246,7 +2246,7 @@ (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l) ()) UVector @@ -2360,7 +2360,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2437,7 +2437,7 @@ (SVector AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2753,14 +2753,15 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -2788,7 +2789,8 @@ (((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable M) ()) UInt @@ -2816,7 +2818,8 @@ (((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable K) ()) UInt @@ -2875,7 +2878,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_int_1d_ar) ()) (UArray UInt) @@ -2929,13 +2932,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_int_3d_ar_flat__) - (decl_type (Unsized (UArray UInt))) (initialize false))) + (decl_type (Unsized (UArray UInt))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_int_3d_ar_flat__) ()) (UArray UInt) @@ -3048,7 +3051,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id J) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable J) ()) UReal @@ -3111,7 +3114,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_real_1d_ar) ()) (UArray UReal) @@ -3152,13 +3155,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_real_3d_ar_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_real_3d_ar_flat__) ()) (UArray UReal) @@ -3268,13 +3271,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_vec_flat__) ()) (UArray UReal) @@ -3349,13 +3352,13 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_1d_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_1d_vec_flat__) ()) (UArray UReal) @@ -3465,13 +3468,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_3d_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_3d_vec_flat__) ()) (UArray UReal) @@ -3609,13 +3612,13 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_row_vec_flat__) ()) (UArray UReal) @@ -3690,13 +3693,13 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_1d_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_1d_row_vec_flat__) ()) (UArray UReal) @@ -3806,13 +3809,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_3d_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_3d_row_vec_flat__) ()) (UArray UReal) @@ -3950,13 +3953,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_ar_mat_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_ar_mat_flat__) ()) (UArray UReal) @@ -4120,13 +4123,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_simplex_flat__) ()) (UArray UReal) @@ -4210,13 +4213,13 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_1d_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_1d_simplex_flat__) ()) (UArray UReal) @@ -4335,13 +4338,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_3d_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_3d_simplex_flat__) ()) (UArray UReal) @@ -4483,13 +4486,13 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_54_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_cfcov_54_flat__) ()) (UArray UReal) @@ -4576,13 +4579,13 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_cfcov_33_flat__) ()) (UArray UReal) @@ -4678,13 +4681,13 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_ar_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_cfcov_33_ar_flat__) ()) (UArray UReal) @@ -4791,7 +4794,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id d_int) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_int) ()) UInt @@ -4821,7 +4824,7 @@ (Sized (SArray SInt ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_int_array) ()) (UArray UInt) @@ -4847,13 +4850,13 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_2d_flat__) - (decl_type (Unsized (UArray UInt))) (initialize false))) + (decl_type (Unsized (UArray UInt))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_int_array_2d_flat__) ()) (UArray UInt) @@ -4943,13 +4946,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_3d_flat__) - (decl_type (Unsized (UArray UInt))) (initialize false))) + (decl_type (Unsized (UArray UInt))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_int_array_3d_flat__) ()) (UArray UInt) @@ -5049,7 +5052,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id d_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_real) ()) UReal @@ -5079,7 +5082,7 @@ (Sized (SArray SReal ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d_real_array) ()) (UArray UReal) @@ -5105,13 +5108,13 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_2d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_real_array_2d_flat__) ()) (UArray UReal) @@ -5201,13 +5204,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_3d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_real_array_3d_flat__) ()) (UArray UReal) @@ -5328,13 +5331,13 @@ (SMatrix AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_matrix_flat__) ()) (UArray UReal) @@ -5438,13 +5441,13 @@ ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_matrix_array_flat__) ()) (UArray UReal) @@ -5577,13 +5580,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_2d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_matrix_array_2d_flat__) ()) (UArray UReal) @@ -5748,13 +5751,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_3d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_matrix_array_3d_flat__) ()) (UArray UReal) @@ -5926,13 +5929,13 @@ (Sized (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_vector_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_vector_flat__) ()) (UArray UReal) @@ -6010,13 +6013,13 @@ (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_vector_array_flat__) ()) (UArray UReal) @@ -6114,13 +6117,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_2d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_vector_array_2d_flat__) ()) (UArray UReal) @@ -6247,13 +6250,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_3d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_vector_array_3d_flat__) ()) (UArray UReal) @@ -6393,13 +6396,13 @@ (Sized (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_row_vector_flat__) ()) (UArray UReal) @@ -6477,13 +6480,13 @@ (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_row_vector_array_flat__) ()) (UArray UReal) @@ -6581,13 +6584,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_2d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_row_vector_array_2d_flat__) ()) (UArray UReal) @@ -6714,13 +6717,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_3d_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable d_row_vector_array_3d_flat__) ()) (UArray UReal) @@ -6849,7 +6852,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_int) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -6864,7 +6867,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -6879,7 +6882,7 @@ (Sized (SArray SInt ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_1dk) ()) (UArray UInt) @@ -6891,7 +6894,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_a) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_a) ()) UInt @@ -6899,7 +6902,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_b) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_b) ()) UReal @@ -6915,7 +6918,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_c) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_c) ()) UReal @@ -6937,7 +6940,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -6952,7 +6955,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -6976,7 +6979,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7018,7 +7021,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_cfcov_54) @@ -7027,7 +7030,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id td_cfcov_33) @@ -7036,7 +7039,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x) @@ -7044,7 +7047,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id y) @@ -7052,7 +7055,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id dat) @@ -7060,7 +7063,7 @@ (Sized (SArray SReal ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id dat_int) @@ -7068,7 +7071,7 @@ (Sized (SArray SInt ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_r) @@ -7078,7 +7081,7 @@ (SArray SReal ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_i) @@ -7088,7 +7091,7 @@ (SArray SInt ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td_int) ()) UInt @@ -7346,7 +7349,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable l_mat) ()) UMatrix @@ -7427,7 +7430,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id blocked_tdata_vs) @@ -7436,7 +7439,7 @@ (SRowVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -7456,7 +7459,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id v) (decl_type (Unsized UReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable v) ()) UReal @@ -7488,7 +7491,7 @@ (SArray SInt ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable indices) ()) (UArray UInt) @@ -7508,7 +7511,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id sym1__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UArray UInt) @@ -7541,7 +7544,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id i) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable i) ()) UInt @@ -7627,7 +7630,7 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -7650,7 +7653,7 @@ (Sized (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x_mul_ind) ()) (UArray UReal) @@ -7672,7 +7675,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id transformed_data_real) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7688,7 +7691,7 @@ (Sized (SArray SReal ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7706,7 +7709,7 @@ (SArray SReal ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7727,7 +7730,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7752,7 +7755,7 @@ (SMatrix AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7787,7 +7790,7 @@ ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7826,7 +7829,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7868,7 +7871,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7884,7 +7887,7 @@ (Sized (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7910,7 +7913,7 @@ (SVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7939,7 +7942,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7971,7 +7974,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -7987,7 +7990,7 @@ (Sized (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -8013,7 +8016,7 @@ (SRowVector AoS ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -8042,7 +8045,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -8074,7 +8077,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var d_int)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable transformed_data_real) ()) UReal @@ -9845,52 +9848,46 @@ (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_upper) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Var p_real)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_lower) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var p_upper)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_multiplier) @@ -9898,26 +9895,24 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id no_offset_multiplier) @@ -9925,24 +9920,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable no_offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Multiplier - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Multiplier + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_no_multiplier) @@ -9950,24 +9943,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_no_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Offset - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Offset + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_1d_ar) @@ -9975,23 +9966,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_1d_ar) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar) @@ -10003,26 +9993,28 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_3d_ar) ()) (UArray (UArray (UArray UReal))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UReal)))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_vec) @@ -10030,23 +10022,22 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_vec) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) @@ -10056,20 +10047,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_vec) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) @@ -10083,24 +10074,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_vec) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) @@ -10108,19 +10101,18 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_row_vec) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) @@ -10130,20 +10122,20 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_row_vec) ()) (UArray URowVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) @@ -10157,24 +10149,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_row_vec) ()) (UArray (UArray (UArray URowVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray URowVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_mat) @@ -10183,22 +10177,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) @@ -10213,32 +10205,30 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_ar_mat) ()) (UArray (UArray UMatrix)) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) @@ -10246,19 +10236,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_simplex) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) @@ -10268,20 +10257,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_simplex) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) @@ -10295,24 +10284,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_simplex) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) @@ -10321,22 +10312,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_54) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) @@ -10345,22 +10334,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) @@ -10371,23 +10358,22 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33_ar) ()) (UArray UMatrix) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_p) @@ -10395,20 +10381,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_p) @@ -10416,20 +10400,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable y_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) @@ -10437,7 +10419,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) @@ -10449,7 +10431,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) @@ -10457,7 +10439,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) @@ -10467,7 +10449,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) @@ -10481,7 +10463,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) @@ -10489,7 +10471,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) @@ -10499,7 +10481,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) @@ -10513,7 +10495,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_mat) @@ -10522,7 +10504,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) @@ -10537,7 +10519,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) @@ -10545,7 +10527,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) @@ -10555,7 +10537,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) @@ -10569,7 +10551,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) @@ -10578,7 +10560,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) @@ -10587,7 +10569,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) @@ -10598,7 +10580,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta_p) @@ -10606,11 +10588,11 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_1d_ar) ()) (UArray UReal) @@ -11171,7 +11153,7 @@ (SVector AoS ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tmp2) @@ -11183,11 +11165,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r1) ()) UReal @@ -11199,7 +11181,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r2) ()) UReal @@ -11963,52 +11945,46 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_upper) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Var p_real)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_lower) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var p_upper)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_multiplier) @@ -12016,26 +11992,24 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id no_offset_multiplier) @@ -12043,24 +12017,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable no_offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Multiplier - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Multiplier + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_no_multiplier) @@ -12068,24 +12040,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_no_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Offset - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Offset + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_1d_ar) @@ -12093,23 +12063,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_1d_ar) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar) @@ -12121,26 +12090,28 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_3d_ar) ()) (UArray (UArray (UArray UReal))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UReal)))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_vec) @@ -12148,23 +12119,22 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_vec) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) @@ -12174,20 +12144,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_vec) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) @@ -12201,24 +12171,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_vec) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) @@ -12226,19 +12198,18 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_row_vec) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) @@ -12248,20 +12219,20 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_row_vec) ()) (UArray URowVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) @@ -12275,24 +12246,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_row_vec) ()) (UArray (UArray (UArray URowVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray URowVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_mat) @@ -12301,22 +12274,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) @@ -12331,32 +12302,30 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_ar_mat) ()) (UArray (UArray UMatrix)) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) @@ -12364,19 +12333,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_simplex) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) @@ -12386,20 +12354,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_simplex) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) @@ -12413,24 +12381,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_simplex) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) @@ -12439,22 +12409,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_54) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) @@ -12463,22 +12431,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) @@ -12489,23 +12455,22 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33_ar) ()) (UArray UMatrix) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_p) @@ -12513,20 +12478,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_p) @@ -12534,20 +12497,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable y_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) @@ -12555,7 +12516,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) @@ -12567,7 +12528,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) @@ -12575,7 +12536,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) @@ -12585,7 +12546,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) @@ -12599,7 +12560,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) @@ -12607,7 +12568,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) @@ -12617,7 +12578,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) @@ -12631,7 +12592,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_mat) @@ -12640,7 +12601,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) @@ -12655,7 +12616,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) @@ -12663,7 +12624,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) @@ -12673,7 +12634,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) @@ -12687,7 +12648,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) @@ -12696,7 +12657,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) @@ -12705,7 +12666,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) @@ -12716,7 +12677,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta_p) @@ -12724,11 +12685,11 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_1d_ar) ()) (UArray UReal) @@ -13289,7 +13250,7 @@ (SVector AoS ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tmp2) @@ -13301,11 +13262,11 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r1) ()) UReal @@ -13317,7 +13278,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id r2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable r2) ()) UReal @@ -14081,52 +14042,46 @@ (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_upper) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Var p_real)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_lower) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var p_upper)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id offset_multiplier) @@ -14134,26 +14089,24 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id no_offset_multiplier) @@ -14161,24 +14114,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable no_offset_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Multiplier - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Multiplier + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id offset_no_multiplier) @@ -14186,24 +14137,22 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_no_multiplier) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Offset - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Offset + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_real_1d_ar) @@ -14211,23 +14160,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_1d_ar) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_real_3d_ar) @@ -14239,26 +14187,28 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_real_3d_ar) ()) (UArray (UArray (UArray UReal))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UReal)))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_vec) @@ -14266,23 +14216,22 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_vec) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_vec) @@ -14292,20 +14241,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_vec) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_vec) @@ -14319,24 +14268,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_vec) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_row_vec) @@ -14344,19 +14295,18 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_row_vec) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_row_vec) @@ -14366,20 +14316,20 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_row_vec) ()) (UArray URowVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_row_vec) @@ -14393,24 +14343,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_row_vec) ()) (UArray (UArray (UArray URowVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray URowVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_mat) @@ -14419,22 +14371,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_ar_mat) @@ -14449,32 +14399,30 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_ar_mat) ()) (UArray (UArray UMatrix)) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_simplex) @@ -14482,19 +14430,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_simplex) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_1d_simplex) @@ -14504,20 +14451,20 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_1d_simplex) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_3d_simplex) @@ -14531,24 +14478,26 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_3d_simplex) ()) (UArray (UArray (UArray UVector))) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Simplex) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta - ((type_ (UArray (UArray (UArray UVector)))) (loc ) - (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Simplex) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_54) @@ -14557,22 +14506,20 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_54) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 4)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33) @@ -14581,22 +14528,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_ar) @@ -14607,23 +14552,22 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_cfcov_33_ar) ()) (UArray UMatrix) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id x_p) @@ -14631,20 +14575,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id y_p) @@ -14652,20 +14594,18 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable y_p) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_1d_ar) @@ -14673,7 +14613,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_3d_ar) @@ -14685,7 +14625,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_vec) @@ -14693,7 +14633,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_vec) @@ -14703,7 +14643,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_vec) @@ -14717,7 +14657,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_row_vec) @@ -14725,7 +14665,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_row_vec) @@ -14735,7 +14675,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_row_vec) @@ -14749,7 +14689,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_mat) @@ -14758,7 +14698,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_ar_mat) @@ -14773,7 +14713,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_simplex) @@ -14781,7 +14721,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_1d_simplex) @@ -14791,7 +14731,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_3d_simplex) @@ -14805,7 +14745,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_54) @@ -14814,7 +14754,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33) @@ -14823,7 +14763,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33_ar) @@ -14834,7 +14774,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id theta_p) @@ -14842,11 +14782,11 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -16901,7 +16841,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_r1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_r1) ()) UReal @@ -16913,7 +16853,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_r2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_r2) ()) UReal @@ -16928,7 +16868,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_real_3d_ar) @@ -16940,7 +16880,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_vec) @@ -16948,7 +16888,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_vec) @@ -16958,7 +16898,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_vec) @@ -16972,7 +16912,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_row_vec) @@ -16980,7 +16920,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_row_vec) @@ -16990,7 +16930,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_row_vec) @@ -17004,7 +16944,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_ar_mat) @@ -17019,7 +16959,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_simplex) @@ -17027,7 +16967,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_1d_simplex) @@ -17037,7 +16977,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_3d_simplex) @@ -17051,7 +16991,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_54) @@ -17060,7 +17000,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33) @@ -17069,7 +17009,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33_ar) @@ -17080,7 +17020,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id indices) @@ -17088,7 +17028,7 @@ (Sized (SArray SInt ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable indices) ()) (UArray UInt) @@ -17108,7 +17048,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res1) @@ -17119,7 +17059,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res2) @@ -17130,7 +17070,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res3) @@ -17141,7 +17081,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res11) @@ -17152,7 +17092,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res21) @@ -17163,7 +17103,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res31) @@ -17174,7 +17114,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res4) @@ -17184,7 +17124,7 @@ (SRowVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id idx_res5) @@ -17194,7 +17134,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable gq_real_1d_ar) ()) (UArray UReal) @@ -19246,7 +19186,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -19254,7 +19194,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_real) ()) UReal @@ -19281,7 +19221,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_upper) ()) UReal @@ -19312,7 +19252,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_lower) ()) UReal @@ -19347,7 +19287,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable offset_multiplier) ()) (UArray UReal) @@ -19378,7 +19318,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable no_offset_multiplier) ()) (UArray UReal) @@ -19407,7 +19347,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable offset_no_multiplier) ()) (UArray UReal) @@ -19436,7 +19376,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_real_1d_ar) ()) (UArray UReal) @@ -19469,13 +19409,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_real_3d_ar_flat__) ()) (UArray UReal) @@ -19592,13 +19532,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_vec_flat__) ()) (UArray UReal) @@ -19672,13 +19612,13 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_1d_vec_flat__) ()) (UArray UReal) @@ -19769,13 +19709,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_3d_vec_flat__) ()) (UArray UReal) @@ -19916,13 +19856,13 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_row_vec_flat__) ()) (UArray UReal) @@ -19992,13 +19932,13 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_1d_row_vec_flat__) ()) (UArray UReal) @@ -20089,13 +20029,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_3d_row_vec_flat__) ()) (UArray UReal) @@ -20238,13 +20178,13 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_mat_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_mat_flat__) ()) (UArray UReal) @@ -20337,13 +20277,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_ar_mat_flat__) ()) (UArray UReal) @@ -20489,13 +20429,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_simplex_flat__) ()) (UArray UReal) @@ -20565,13 +20505,13 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_1d_simplex_flat__) ()) (UArray UReal) @@ -20662,13 +20602,13 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_3d_simplex_flat__) ()) (UArray UReal) @@ -20810,13 +20750,13 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_cfcov_54_flat__) ()) (UArray UReal) @@ -20903,13 +20843,13 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_cfcov_33_flat__) ()) (UArray UReal) @@ -20998,13 +20938,13 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_cfcov_33_ar_flat__) ()) (UArray UReal) @@ -21115,13 +21055,13 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable x_p_flat__) ()) (UArray UReal) @@ -21189,13 +21129,13 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable y_p_flat__) ()) (UArray UReal) @@ -21260,7 +21200,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_real) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_real) ()) UReal @@ -21278,7 +21218,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_upper) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_upper) ()) UReal @@ -21300,7 +21240,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_lower) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_lower) ()) UReal @@ -21326,7 +21266,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable offset_multiplier) ()) (UArray UReal) @@ -21356,7 +21296,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable no_offset_multiplier) ()) (UArray UReal) @@ -21384,7 +21324,7 @@ (Sized (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable offset_no_multiplier) ()) (UArray UReal) @@ -21412,7 +21352,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_real_1d_ar) ()) (UArray UReal) @@ -21444,7 +21384,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21520,7 +21460,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_vec) ()) UVector @@ -21550,7 +21490,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21609,7 +21549,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21706,7 +21646,7 @@ (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_row_vec) ()) URowVector @@ -21732,7 +21672,7 @@ (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21791,7 +21731,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21890,7 +21830,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_mat) ()) UMatrix @@ -21922,7 +21862,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -22025,7 +21965,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_simplex) ()) UVector @@ -22051,7 +21991,7 @@ (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -22110,7 +22050,7 @@ ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -22208,7 +22148,7 @@ (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_cfcov_54) ()) UMatrix @@ -22234,7 +22174,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_cfcov_33) ()) UMatrix @@ -22262,7 +22202,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -22334,7 +22274,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x_p) ()) UVector @@ -22357,7 +22297,7 @@ (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y_p) ()) UVector diff --git a/test/integration/good/compiler-optimizations/cpp.expected b/test/integration/good/compiler-optimizations/cpp.expected index e50e1b63a..b17f9b878 100644 --- a/test/integration/good/compiler-optimizations/cpp.expected +++ b/test/integration/good/compiler-optimizations/cpp.expected @@ -705,9 +705,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp lcm_sym20__; Eigen::Matrix lcm_sym19__; Eigen::Matrix lcm_sym18__; - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, X_d, "assigning variable X_tp1"); @@ -783,10 +783,10 @@ class ad_level_deep_dependence_model final : public model_base_crtp lcm_sym14__; Eigen::Matrix lcm_sym13__; Eigen::Matrix lcm_sym12__; - stan::math::var_value> X_p; current_statement__ = 1; - X_p = in__.template read< - stan::math::var_value>>(10, 10); + auto X_p = + in__.template read< + stan::math::var_value>>(10, 10); stan::math::var_value> X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, X_d, "assigning variable X_tp1"); @@ -875,9 +875,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp lcm_sym6__; int lcm_sym5__; int lcm_sym4__; - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -2185,22 +2185,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -2308,22 +2308,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -2440,22 +2440,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - double gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - double xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - double delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, std::numeric_limits::quiet_NaN())); @@ -3485,9 +3485,9 @@ class ad_levels_deep_model final : public model_base_crtp try { Eigen::Matrix lcm_sym11__; Eigen::Matrix lcm_sym10__; - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); stan::model::assign(lcm_sym10__, stan::math::exp(X_data), @@ -3531,10 +3531,10 @@ class ad_levels_deep_model final : public model_base_crtp try { Eigen::Matrix lcm_sym9__; Eigen::Matrix lcm_sym8__; - stan::math::var_value> X_p; current_statement__ = 1; - X_p = in__.template read< - stan::math::var_value>>(10, 10); + auto X_p = + in__.template read< + stan::math::var_value>>(10, 10); stan::math::var_value> X_tp1 = stan::math::var_value>(Eigen::Matrix::Constant(10, 10, @@ -3594,9 +3594,9 @@ class ad_levels_deep_model final : public model_base_crtp Eigen::Matrix lcm_sym6__; int lcm_sym5__; int lcm_sym4__; - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -4575,9 +4575,9 @@ class copy_prop_profile_model final : public model_base_crtp lcm_sym9__; - Eigen::Matrix X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -4645,9 +4645,9 @@ class copy_prop_profile_model final : public model_base_crtp lcm_sym7__; - Eigen::Matrix X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -4726,9 +4726,9 @@ class copy_prop_profile_model final : public model_base_crtp X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); out__.write(X); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -5623,15 +5623,15 @@ class copy_fail_model final : public model_base_crtp { int lcm_sym118__; int lcm_sym117__; int lcm_sym116__; - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -6057,15 +6057,15 @@ class copy_fail_model final : public model_base_crtp { int lcm_sym75__; int lcm_sym74__; int lcm_sym73__; - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -6485,15 +6485,15 @@ class copy_fail_model final : public model_base_crtp { int lcm_sym48__; int lcm_sym47__; int lcm_sym46__; - double mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), std::numeric_limits::quiet_NaN()); @@ -7386,63 +7386,56 @@ class dce_fail_model final : public model_base_crtp { int lcm_sym42__; int lcm_sym41__; int lcm_sym40__; - local_scalar_t__ sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -7667,63 +7660,56 @@ class dce_fail_model final : public model_base_crtp { int lcm_sym20__; int lcm_sym19__; int lcm_sym18__; - local_scalar_t__ sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -7939,63 +7925,56 @@ class dce_fail_model final : public model_base_crtp { try { int lcm_sym17__; int lcm_sym16__; - double sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - double sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - double sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - double sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - double sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - double sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - double b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - double b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - double b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - double b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - double b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); out__.write(sigma); out__.write(sigma_age); out__.write(sigma_edu); @@ -9398,19 +9377,18 @@ class expr_prop_fail_model final : public model_base_crtp double lcm_sym14__; double lcm_sym13__; int lcm_sym12__; - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -9492,19 +9470,18 @@ class expr_prop_fail_model final : public model_base_crtp double lcm_sym8__; double lcm_sym7__; int lcm_sym6__; - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -9593,19 +9570,18 @@ class expr_prop_fail_model final : public model_base_crtp try { int lcm_sym5__; int lcm_sym4__; - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, std::numeric_limits::quiet_NaN()); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - double theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); out__.write(mu); out__.write(sigma); out__.write(theta); @@ -9982,17 +9958,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta = - std::vector(J, DUMMY_VAR__); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -10031,17 +10004,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta = - std::vector(J, DUMMY_VAR__); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -10091,17 +10061,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta = - std::vector(J, std::numeric_limits::quiet_NaN()); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - double tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); out__.write(mu); out__.write(theta); out__.write(tau); @@ -10721,45 +10688,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -10914,45 +10880,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -11113,45 +11078,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - double sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - double sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - double sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - double sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -12036,15 +12000,13 @@ class expr_prop_fail4_model final : public model_base_crtp lcm_sym27__; double lcm_sym26__; int lcm_sym31__; - local_scalar_t__ tau_phi; current_statement__ = 1; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant((N - 1), DUMMY_VAR__); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); lcm_sym31__ = (N - 1); - phi_std_raw = in__.template read< - Eigen::Matrix>(lcm_sym31__); + auto phi_std_raw = + in__.template read>(lcm_sym31__); local_scalar_t__ sigma_phi = DUMMY_VAR__; lcm_sym30__ = stan::math::inv_sqrt(tau_phi); sigma_phi = lcm_sym30__; @@ -12109,18 +12071,14 @@ class expr_prop_fail4_model final : public model_base_crtp lcm_sym20__; double lcm_sym19__; int lcm_sym24__; - local_scalar_t__ tau_phi; current_statement__ = 1; - tau_phi = in__.template read_constrain_lb(0, lp__); - stan::math::var_value> phi_std_raw = - stan::math::var_value>(Eigen::Matrix::Constant((N - - 1), - std::numeric_limits::quiet_NaN( - ))); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); lcm_sym24__ = (N - 1); - phi_std_raw = in__.template read< - stan::math::var_value>>(lcm_sym24__); + auto phi_std_raw = + in__.template read< + stan::math::var_value>>(lcm_sym24__); local_scalar_t__ sigma_phi = DUMMY_VAR__; lcm_sym23__ = stan::math::inv_sqrt(tau_phi); sigma_phi = lcm_sym23__; @@ -12203,16 +12161,13 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant((N - 1), - std::numeric_limits::quiet_NaN()); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); lcm_sym17__ = (N - 1); - phi_std_raw = in__.template read< - Eigen::Matrix>(lcm_sym17__); + auto phi_std_raw = + in__.template read>(lcm_sym17__); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -13234,22 +13189,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -13667,22 +13621,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -14094,22 +14047,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - double sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), std::numeric_limits::quiet_NaN()); @@ -15994,30 +15946,29 @@ class expr_prop_fail6_model final : public model_base_crtp lcm_sym261__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, (n_occasions - 1), DUMMY_VAR__); @@ -16921,30 +16872,29 @@ class expr_prop_fail6_model final : public model_base_crtp lcm_sym185__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, (n_occasions - 1), DUMMY_VAR__); @@ -17843,30 +17793,29 @@ class expr_prop_fail6_model final : public model_base_crtp lcm_sym128__; - double mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - double psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - double sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, (n_occasions - 1), std::numeric_limits::quiet_NaN()); @@ -19172,19 +19121,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, DUMMY_VAR__))); + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 10; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -19357,20 +19302,16 @@ class expr_prop_fail7_model final : public model_base_crtp> pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - stan::math::var_value>, - jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, DUMMY_VAR__))); + auto pi = + in__.template read_constrain_simplex< + stan::math::var_value>, + jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 10; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -19565,20 +19506,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN()))); + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); out__.write(pi); lcm_sym10__ = stan::math::logical_gte(K, 1); if (lcm_sym10__) { @@ -20313,27 +20249,24 @@ class expr_prop_fail8_model final : public model_base_crtp lcm_sym14__; - local_scalar_t__ beta0; current_statement__ = 1; - beta0 = in__.template read(); - local_scalar_t__ beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw; + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); local_scalar_t__ sigma_phi = DUMMY_VAR__; lcm_sym16__ = stan::math::inv_sqrt(tau_phi); sigma_phi = lcm_sym16__; @@ -20388,28 +20321,26 @@ class expr_prop_fail8_model final : public model_base_crtp lcm_sym11__; - local_scalar_t__ beta0; current_statement__ = 1; - beta0 = in__.template read(); - local_scalar_t__ beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - stan::math::var_value> theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> phi_std_raw; + auto theta_std = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - stan::math::var_value>>(N); + auto phi_std_raw = + in__.template read< + stan::math::var_value>>(N); local_scalar_t__ sigma_phi = DUMMY_VAR__; lcm_sym13__ = stan::math::inv_sqrt(tau_phi); sigma_phi = lcm_sym13__; @@ -20478,27 +20409,24 @@ class expr_prop_fail8_model final : public model_base_crtp lcm_sym9__; int lcm_sym8__; int lcm_sym7__; - double beta0; current_statement__ = 1; - beta0 = in__.template read(); - double beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - double tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - double tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw; + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -21516,15 +21444,15 @@ class fails_test_model final : public model_base_crtp { int lcm_sym118__; int lcm_sym117__; int lcm_sym116__; - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -21950,15 +21878,15 @@ class fails_test_model final : public model_base_crtp { int lcm_sym75__; int lcm_sym74__; int lcm_sym73__; - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -22378,15 +22306,15 @@ class fails_test_model final : public model_base_crtp { int lcm_sym48__; int lcm_sym47__; int lcm_sym46__; - double mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), std::numeric_limits::quiet_NaN()); @@ -24402,15 +24330,12 @@ class initialize_SoA_model final : public model_base_crtp double lcm_sym19__; double lcm_sym18__; double lcm_sym17__; - Eigen::Matrix y; current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec = - std::vector>(3, - Eigen::Matrix::Constant(4, DUMMY_VAR__)); + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, DUMMY_VAR__); stan::model::assign(lcm_sym20__, @@ -24473,20 +24398,15 @@ class initialize_SoA_model final : public model_base_crtp double lcm_sym15__; double lcm_sym14__; double lcm_sym13__; - stan::math::var_value> y; current_statement__ = 1; - y = in__.template read< - stan::math::var_value>>(3); - std::vector>> - arr_vec = - std::vector>>(3, - stan::math::var_value>(Eigen::Matrix::Constant(4, - std::numeric_limits::quiet_NaN( - )))); + auto y = + in__.template read< + stan::math::var_value>>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector< - stan::math::var_value>>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>>(3, + 4); stan::math::var_value> x = stan::math::var_value>(Eigen::Matrix::Constant(3, std::numeric_limits::quiet_NaN( @@ -24565,16 +24485,12 @@ class initialize_SoA_model final : public model_base_crtp double lcm_sym8__; int lcm_sym7__; int lcm_sym6__; - Eigen::Matrix y; current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec = - std::vector>(3, - Eigen::Matrix::Constant(4, - std::numeric_limits::quiet_NaN())); + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, std::numeric_limits::quiet_NaN()); @@ -25155,14 +25071,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, DUMMY_VAR__); Eigen::Matrix inline_single_ret_fun_return_sym13__; @@ -25228,14 +25142,14 @@ class inline_functions_varmat_model final : public model_base_crtp> p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - stan::math::var_value>>(5); - stan::math::var_value> p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read< + stan::math::var_value>>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - stan::math::var_value>>(5); + auto p_multi_ret_vec = + in__.template read< + stan::math::var_value>>(5); stan::math::var_value> tp_single_ret_vec = stan::math::var_value>(Eigen::Matrix::Constant(5, std::numeric_limits::quiet_NaN( @@ -25320,14 +25234,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, std::numeric_limits::quiet_NaN()); @@ -25835,9 +25747,8 @@ class inline_tdata_model final : public model_base_crtp { (void) function__; try { double lcm_sym5__; - local_scalar_t__ alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -25874,9 +25785,8 @@ class inline_tdata_model final : public model_base_crtp { (void) function__; try { double lcm_sym4__; - local_scalar_t__ alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -25925,9 +25835,8 @@ class inline_tdata_model final : public model_base_crtp { try { int lcm_sym3__; int lcm_sym2__; - double alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); out__.write(alpha); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -27933,29 +27842,27 @@ class inlining_fail2_model final : public model_base_crtp int lcm_sym280__; int lcm_sym279__; int lcm_sym278__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant((n_occasions - 1), - DUMMY_VAR__); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); lcm_sym341__ = (n_occasions - 1); - epsilon = in__.template read< - Eigen::Matrix>(lcm_sym341__); - local_scalar_t__ sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(lcm_sym341__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, lcm_sym341__, DUMMY_VAR__); @@ -28830,29 +28737,27 @@ class inlining_fail2_model final : public model_base_crtp int lcm_sym210__; int lcm_sym209__; int lcm_sym208__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant((n_occasions - 1), - DUMMY_VAR__); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); lcm_sym271__ = (n_occasions - 1); - epsilon = in__.template read< - Eigen::Matrix>(lcm_sym271__); - local_scalar_t__ sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(lcm_sym271__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, lcm_sym271__, DUMMY_VAR__); @@ -29733,29 +29638,27 @@ class inlining_fail2_model final : public model_base_crtp int lcm_sym144__; int lcm_sym143__; Eigen::Matrix lcm_sym142__; - double mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant((n_occasions - 1), - std::numeric_limits::quiet_NaN()); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); lcm_sym200__ = (n_occasions - 1); - epsilon = in__.template read< - Eigen::Matrix>(lcm_sym200__); - double sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(lcm_sym200__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, lcm_sym200__, std::numeric_limits::quiet_NaN()); @@ -31167,9 +31070,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y = DUMMY_VAR__; lcm_sym8__ = stan::math::log(x); @@ -31217,9 +31119,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y = DUMMY_VAR__; lcm_sym5__ = stan::math::log(x); @@ -31277,9 +31178,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -31569,10 +31469,8 @@ class lcm_fails_model final : public model_base_crtp { (void) function__; try { double lcm_sym4__; - std::vector theta = - std::vector(J, DUMMY_VAR__); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -31608,10 +31506,8 @@ class lcm_fails_model final : public model_base_crtp { (void) function__; try { double lcm_sym3__; - std::vector theta = - std::vector(J, DUMMY_VAR__); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -31659,10 +31555,8 @@ class lcm_fails_model final : public model_base_crtp { try { int lcm_sym2__; int lcm_sym1__; - std::vector theta = - std::vector(J, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); out__.write(theta); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -32439,14 +32333,14 @@ class lcm_fails2_model final : public model_base_crtp { int lcm_sym106__; int lcm_sym105__; int lcm_sym104__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -32850,14 +32744,14 @@ class lcm_fails2_model final : public model_base_crtp { int lcm_sym67__; int lcm_sym66__; int lcm_sym65__; - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), DUMMY_VAR__); @@ -33255,14 +33149,14 @@ class lcm_fails2_model final : public model_base_crtp { int lcm_sym44__; int lcm_sym43__; int lcm_sym42__; - double mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, (n_occasions - 1), std::numeric_limits::quiet_NaN()); @@ -33944,9 +33838,8 @@ class lupdf_inlining_model final : public model_base_crtp local_scalar_t__ lcm_sym43__; local_scalar_t__ lcm_sym42__; local_scalar_t__ lcm_sym41__; - local_scalar_t__ mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; double inline_foo_lpdf_return_sym23__; { @@ -34001,9 +33894,8 @@ class lupdf_inlining_model final : public model_base_crtp local_scalar_t__ lcm_sym40__; local_scalar_t__ lcm_sym39__; local_scalar_t__ lcm_sym38__; - local_scalar_t__ mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; double inline_foo_lpdf_return_sym16__; { @@ -34071,9 +33963,8 @@ class lupdf_inlining_model final : public model_base_crtp double lcm_sym35__; int lcm_sym34__; int lcm_sym33__; - double mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); double tp = std::numeric_limits::quiet_NaN(); out__.write(mu); if (stan::math::logical_negation( @@ -34616,18 +34507,14 @@ class off_dce_model final : public model_base_crtp { double lcm_sym33__; double lcm_sym32__; int lcm_sym31__; - local_scalar_t__ alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -34741,18 +34628,14 @@ class off_dce_model final : public model_base_crtp { double lcm_sym22__; double lcm_sym21__; int lcm_sym20__; - local_scalar_t__ alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -34885,18 +34768,14 @@ class off_dce_model final : public model_base_crtp { int lcm_sym3__; double lcm_sym2__; double lcm_sym1__; - double alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - double beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - double alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - double beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, std::numeric_limits::quiet_NaN()); @@ -35570,33 +35449,28 @@ class off_small_model final : public model_base_crtp { double lcm_sym27__; Eigen::Matrix lcm_sym26__; int lcm_sym25__; - local_scalar_t__ beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -35705,33 +35579,28 @@ class off_small_model final : public model_base_crtp { double lcm_sym16__; Eigen::Matrix lcm_sym15__; int lcm_sym14__; - local_scalar_t__ beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -35847,33 +35716,28 @@ class off_small_model final : public model_base_crtp { int lcm_sym9__; int lcm_sym8__; int lcm_sym7__; - double beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - double mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - double mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - double sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, std::numeric_limits::quiet_NaN()); @@ -36605,23 +36469,20 @@ class optimizations_model final : public model_base_crtp { int lcm_sym94__; int lcm_sym93__; int lcm_sym92__; - local_scalar_t__ theta; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector; + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov; + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); { double x = std::numeric_limits::quiet_NaN(); { @@ -37142,25 +37003,23 @@ class optimizations_model final : public model_base_crtp { int lcm_sym70__; int lcm_sym69__; int lcm_sym68__; - local_scalar_t__ theta; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - stan::math::var_value> x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read< - stan::math::var_value>>(3, 2); - stan::math::var_value> x_vector; + auto x_matrix = + in__.template read< + stan::math::var_value>>(3, 2); current_statement__ = 4; - x_vector = in__.template read< - stan::math::var_value>>(2); - stan::math::var_value> x_cov; + auto x_vector = + in__.template read< + stan::math::var_value>>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - stan::math::var_value>, - jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + stan::math::var_value>, + jacobian__>(lp__, 2); { double x = std::numeric_limits::quiet_NaN(); { @@ -37670,23 +37529,20 @@ class optimizations_model final : public model_base_crtp { try { int lcm_sym67__; int lcm_sym66__; - double theta; current_statement__ = 1; - theta = in__.template read(); - double phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector; + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov; + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); out__.write(theta); out__.write(phi); out__.write(x_matrix); @@ -39487,23 +39343,21 @@ class partial_eval_model final : public model_base_crtp { double lcm_sym24__; double lcm_sym23__; int lcm_sym22__; - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -39603,23 +39457,21 @@ class partial_eval_model final : public model_base_crtp { double lcm_sym14__; double lcm_sym13__; int lcm_sym12__; - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -39725,23 +39577,21 @@ class partial_eval_model final : public model_base_crtp { int lcm_sym9__; int lcm_sym8__; int lcm_sym7__; - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - double mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - double sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -41453,12 +41303,12 @@ class partial_eval_multiply_model final : public model_base_crtp lcm_sym13__; Eigen::Matrix lcm_sym12__; double lcm_sym11__; - Eigen::Matrix m2; current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3; + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); { Eigen::Matrix m5 = Eigen::Matrix::Constant(10, 10, @@ -41515,14 +41365,14 @@ class partial_eval_multiply_model final : public model_base_crtp lcm_sym10__; Eigen::Matrix lcm_sym9__; double lcm_sym8__; - stan::math::var_value> m2; current_statement__ = 1; - m2 = in__.template read< - stan::math::var_value>>(10, 10); - stan::math::var_value> m3; + auto m2 = + in__.template read< + stan::math::var_value>>(10, 10); current_statement__ = 2; - m3 = in__.template read< - stan::math::var_value>>(10, 10); + auto m3 = + in__.template read< + stan::math::var_value>>(10, 10); { stan::math::var_value> m5 = Eigen::Matrix::Constant(10, 10, @@ -41589,12 +41439,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2; current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3; + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); out__.write(m2); out__.write(m3); if (stan::math::logical_negation( @@ -43625,28 +43475,22 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b = - std::vector>(I, - Eigen::Matrix::Constant(8, DUMMY_VAR__)); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, 8); + auto b = + in__.template read< + std::vector>>(I, 8); local_scalar_t__ sigma = DUMMY_VAR__; lcm_sym24__ = (1 / stan::math::sqrt(tau)); sigma = lcm_sym24__; @@ -43754,31 +43598,23 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector>> b = - std::vector>>(I, - stan::math::var_value>(Eigen::Matrix::Constant(8, - std::numeric_limits::quiet_NaN( - )))); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>>(I, - 8); + auto b = + in__.template read< + std::vector>>>(I, + 8); local_scalar_t__ sigma = DUMMY_VAR__; lcm_sym13__ = (1 / stan::math::sqrt(tau)); sigma = lcm_sym13__; @@ -43894,29 +43730,22 @@ class stalled1_failure_model final : public model_base_crtp(); - double alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - double alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - double alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - double tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b = - std::vector>(I, - Eigen::Matrix::Constant(8, - std::numeric_limits::quiet_NaN())); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, 8); + auto b = + in__.template read< + std::vector>>(I, 8); double sigma = std::numeric_limits::quiet_NaN(); out__.write(alpha0); out__.write(alpha1); @@ -44538,9 +44367,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, @@ -44662,9 +44490,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector>> local = std::vector>(2, Eigen::Matrix::Constant(5, @@ -44802,9 +44629,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, @@ -45230,9 +45056,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); double no_init = std::numeric_limits::quiet_NaN(); local_scalar_t__ init_from_param; current_statement__ = 3; @@ -45321,9 +45146,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); double no_init = std::numeric_limits::quiet_NaN(); local_scalar_t__ init_from_param; current_statement__ = 3; @@ -45425,9 +45249,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); double no_init = std::numeric_limits::quiet_NaN(); double init_from_param = std::numeric_limits::quiet_NaN(); double dependent_no_init = std::numeric_limits::quiet_NaN(); diff --git a/test/integration/good/compiler-optimizations/cppO0.expected b/test/integration/good/compiler-optimizations/cppO0.expected index 2b1ba1011..5c5f990e9 100644 --- a/test/integration/good/compiler-optimizations/cppO0.expected +++ b/test/integration/good/compiler-optimizations/cppO0.expected @@ -101,10 +101,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -171,10 +170,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -252,11 +250,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -952,22 +948,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -1052,22 +1048,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma = DUMMY_VAR__; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi = DUMMY_VAR__; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta = DUMMY_VAR__; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -1163,22 +1159,22 @@ class ad_level_failing_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - beta = in__.template read_constrain_lb(0, - lp__); - double gamma = std::numeric_limits::quiet_NaN(); + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - double xi = std::numeric_limits::quiet_NaN(); + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - double delta = std::numeric_limits::quiet_NaN(); + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, std::numeric_limits::quiet_NaN())); @@ -1568,10 +1564,9 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -1614,10 +1609,9 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -1671,11 +1665,9 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix X_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -2058,10 +2050,9 @@ class copy_prop_profile_model final : public model_base_crtp X = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -2131,10 +2122,9 @@ class copy_prop_profile_model final : public model_base_crtp X = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -2215,11 +2205,9 @@ class copy_prop_profile_model final : public model_base_crtp X = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); out__.write(X); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -2878,16 +2866,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p = DUMMY_VAR__; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -3008,16 +2995,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p = DUMMY_VAR__; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -3149,17 +3135,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_p = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, - std::numeric_limits::quiet_NaN()); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -3810,69 +3794,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ sigma = DUMMY_VAR__; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu = DUMMY_VAR__; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state = DUMMY_VAR__; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region = DUMMY_VAR__; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu = DUMMY_VAR__; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0 = DUMMY_VAR__; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female = DUMMY_VAR__; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black = DUMMY_VAR__; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black = DUMMY_VAR__; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev = DUMMY_VAR__; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age = - Eigen::Matrix::Constant(n_age, DUMMY_VAR__); + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu = - Eigen::Matrix::Constant(n_edu, DUMMY_VAR__); + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region = - Eigen::Matrix::Constant(n_region, DUMMY_VAR__); + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu = - Eigen::Matrix::Constant(n_age, n_edu, - DUMMY_VAR__); + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat = - Eigen::Matrix::Constant(n_state, DUMMY_VAR__); + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -3996,69 +3967,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ sigma = DUMMY_VAR__; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu = DUMMY_VAR__; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state = DUMMY_VAR__; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region = DUMMY_VAR__; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu = DUMMY_VAR__; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0 = DUMMY_VAR__; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female = DUMMY_VAR__; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black = DUMMY_VAR__; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black = DUMMY_VAR__; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev = DUMMY_VAR__; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age = - Eigen::Matrix::Constant(n_age, DUMMY_VAR__); + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu = - Eigen::Matrix::Constant(n_edu, DUMMY_VAR__); + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region = - Eigen::Matrix::Constant(n_region, DUMMY_VAR__); + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu = - Eigen::Matrix::Constant(n_age, n_edu, - DUMMY_VAR__); + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat = - Eigen::Matrix::Constant(n_state, DUMMY_VAR__); + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -4193,73 +4151,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double sigma = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - double sigma_age = std::numeric_limits::quiet_NaN(); + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - double sigma_edu = std::numeric_limits::quiet_NaN(); + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - double sigma_state = std::numeric_limits::quiet_NaN(); + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - double sigma_region = std::numeric_limits::quiet_NaN(); + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - double sigma_age_edu = std::numeric_limits::quiet_NaN(); + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - double b_0 = std::numeric_limits::quiet_NaN(); + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - double b_female = std::numeric_limits::quiet_NaN(); + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - double b_black = std::numeric_limits::quiet_NaN(); + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - double b_female_black = std::numeric_limits::quiet_NaN(); + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - double b_v_prev = std::numeric_limits::quiet_NaN(); + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age = - Eigen::Matrix::Constant(n_age, - std::numeric_limits::quiet_NaN()); + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu = - Eigen::Matrix::Constant(n_edu, - std::numeric_limits::quiet_NaN()); + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region = - Eigen::Matrix::Constant(n_region, - std::numeric_limits::quiet_NaN()); + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu = - Eigen::Matrix::Constant(n_age, n_edu, - std::numeric_limits::quiet_NaN()); + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat = - Eigen::Matrix::Constant(n_state, - std::numeric_limits::quiet_NaN()); + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); out__.write(sigma); out__.write(sigma_age); out__.write(sigma_edu); @@ -5579,20 +5520,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu = - Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -5650,20 +5589,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu = - Eigen::Matrix::Constant(2, DUMMY_VAR__); current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, DUMMY_VAR__); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta = DUMMY_VAR__; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -5732,21 +5669,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma = - std::vector(2, std::numeric_limits::quiet_NaN()); + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - double theta = std::numeric_limits::quiet_NaN(); + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); out__.write(mu); out__.write(sigma); out__.write(theta); @@ -6113,17 +6047,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta = - std::vector(J, DUMMY_VAR__); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau = DUMMY_VAR__; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -6160,17 +6091,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta = - std::vector(J, DUMMY_VAR__); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau = DUMMY_VAR__; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -6218,17 +6146,14 @@ class expr_prop_fail2_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); - std::vector theta = - std::vector(J, std::numeric_limits::quiet_NaN()); + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - double tau = std::numeric_limits::quiet_NaN(); + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); out__.write(mu); out__.write(theta); out__.write(tau); @@ -6808,53 +6733,44 @@ class expr_prop_fail3_model final : public model_base_crtp a = - Eigen::Matrix::Constant(n_age, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b = - Eigen::Matrix::Constant(n_edu, DUMMY_VAR__); + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c = - Eigen::Matrix::Constant(n_age_edu, - DUMMY_VAR__); + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d = - Eigen::Matrix::Constant(n_state, DUMMY_VAR__); + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e = - Eigen::Matrix::Constant(n_region_full, - DUMMY_VAR__); + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a = DUMMY_VAR__; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b = DUMMY_VAR__; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c = DUMMY_VAR__; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d = DUMMY_VAR__; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e = DUMMY_VAR__; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -6939,53 +6855,44 @@ class expr_prop_fail3_model final : public model_base_crtp a = - Eigen::Matrix::Constant(n_age, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b = - Eigen::Matrix::Constant(n_edu, DUMMY_VAR__); + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c = - Eigen::Matrix::Constant(n_age_edu, - DUMMY_VAR__); + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d = - Eigen::Matrix::Constant(n_state, DUMMY_VAR__); + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e = - Eigen::Matrix::Constant(n_region_full, - DUMMY_VAR__); + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a = DUMMY_VAR__; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b = DUMMY_VAR__; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c = DUMMY_VAR__; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d = DUMMY_VAR__; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e = DUMMY_VAR__; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -7081,57 +6988,44 @@ class expr_prop_fail3_model final : public model_base_crtp a = - Eigen::Matrix::Constant(n_age, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b = - Eigen::Matrix::Constant(n_edu, - std::numeric_limits::quiet_NaN()); + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c = - Eigen::Matrix::Constant(n_age_edu, - std::numeric_limits::quiet_NaN()); + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d = - Eigen::Matrix::Constant(n_state, - std::numeric_limits::quiet_NaN()); + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e = - Eigen::Matrix::Constant(n_region_full, - std::numeric_limits::quiet_NaN()); + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta = - Eigen::Matrix::Constant(5, - std::numeric_limits::quiet_NaN()); + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - double sigma_a = std::numeric_limits::quiet_NaN(); + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_b = std::numeric_limits::quiet_NaN(); + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - double sigma_c = std::numeric_limits::quiet_NaN(); + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - double sigma_d = std::numeric_limits::quiet_NaN(); + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - double sigma_e = std::numeric_limits::quiet_NaN(); + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -7872,16 +7766,14 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(phi_std_raw_1dim__, - DUMMY_VAR__); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - Eigen::Matrix>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + Eigen::Matrix>(phi_std_raw_1dim__); local_scalar_t__ sigma_phi = DUMMY_VAR__; current_statement__ = 3; sigma_phi = stan::math::inv(stan::math::sqrt(tau_phi)); @@ -7940,16 +7832,14 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(phi_std_raw_1dim__, - DUMMY_VAR__); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - Eigen::Matrix>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + Eigen::Matrix>(phi_std_raw_1dim__); local_scalar_t__ sigma_phi = DUMMY_VAR__; current_statement__ = 3; sigma_phi = stan::math::inv(stan::math::sqrt(tau_phi)); @@ -8019,16 +7909,14 @@ class expr_prop_fail4_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(phi_std_raw_1dim__, - std::numeric_limits::quiet_NaN()); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - Eigen::Matrix>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + Eigen::Matrix>(phi_std_raw_1dim__); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -8833,23 +8721,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(nind, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -8974,23 +8860,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(nind, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -9126,24 +9010,21 @@ class expr_prop_fail5_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p = std::numeric_limits::quiet_NaN(); + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(nind, - std::numeric_limits::quiet_NaN()); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - double sigma = std::numeric_limits::quiet_NaN(); + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -10311,33 +10192,29 @@ class expr_prop_fail6_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi = DUMMY_VAR__; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(n_occasions, - DUMMY_VAR__); + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -10451,33 +10328,29 @@ class expr_prop_fail6_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi = DUMMY_VAR__; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(n_occasions, - DUMMY_VAR__); + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -10602,34 +10475,29 @@ class expr_prop_fail6_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p = std::numeric_limits::quiet_NaN(); + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - double psi = std::numeric_limits::quiet_NaN(); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(n_occasions, - std::numeric_limits::quiet_NaN()); + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - double sigma = std::numeric_limits::quiet_NaN(); + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, std::numeric_limits::quiet_NaN()); @@ -11507,20 +11375,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi = - Eigen::Matrix::Constant(K, DUMMY_VAR__); current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, DUMMY_VAR__))); + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 11; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -11595,20 +11458,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi = - Eigen::Matrix::Constant(K, DUMMY_VAR__); current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, DUMMY_VAR__))); + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 11; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -11694,22 +11552,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi = - Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta = - std::vector>>(J, - std::vector>(K, - Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN()))); + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); out__.write(pi); current_statement__ = 2; for (int sym1__ = 1; sym1__ <= K; ++sym1__) { @@ -12235,29 +12086,24 @@ class expr_prop_fail8_model final : public model_base_crtp(); - local_scalar_t__ beta1 = DUMMY_VAR__; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta = DUMMY_VAR__; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi = DUMMY_VAR__; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); local_scalar_t__ sigma_phi = DUMMY_VAR__; current_statement__ = 7; sigma_phi = stan::math::inv(stan::math::sqrt(tau_phi)); @@ -12309,29 +12155,24 @@ class expr_prop_fail8_model final : public model_base_crtp(); - local_scalar_t__ beta1 = DUMMY_VAR__; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta = DUMMY_VAR__; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi = DUMMY_VAR__; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); local_scalar_t__ sigma_phi = DUMMY_VAR__; current_statement__ = 7; sigma_phi = stan::math::inv(stan::math::sqrt(tau_phi)); @@ -12394,31 +12235,24 @@ class expr_prop_fail8_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - beta0 = in__.template read(); - double beta1 = std::numeric_limits::quiet_NaN(); + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - double tau_theta = std::numeric_limits::quiet_NaN(); + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - double tau_phi = std::numeric_limits::quiet_NaN(); + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -13204,16 +13038,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p = DUMMY_VAR__; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -13334,16 +13167,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p = DUMMY_VAR__; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -13475,17 +13307,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_p = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta = - Eigen::Matrix::Constant(max_age, - std::numeric_limits::quiet_NaN()); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -15098,16 +14928,12 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix y = - Eigen::Matrix::Constant(3, DUMMY_VAR__); current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec = - std::vector>(3, - Eigen::Matrix::Constant(4, DUMMY_VAR__)); + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, DUMMY_VAR__); current_statement__ = 3; @@ -15155,16 +14981,12 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix y = - Eigen::Matrix::Constant(3, DUMMY_VAR__); current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec = - std::vector>(3, - Eigen::Matrix::Constant(4, DUMMY_VAR__)); + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, DUMMY_VAR__); current_statement__ = 3; @@ -15223,18 +15045,12 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix y = - Eigen::Matrix::Constant(3, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec = - std::vector>(3, - Eigen::Matrix::Constant(4, - std::numeric_limits::quiet_NaN())); + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, std::numeric_limits::quiet_NaN()); @@ -15680,16 +15496,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec = - Eigen::Matrix::Constant(5, DUMMY_VAR__); current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, DUMMY_VAR__); current_statement__ = 3; @@ -15732,16 +15544,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec = - Eigen::Matrix::Constant(5, DUMMY_VAR__); current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec = - Eigen::Matrix::Constant(5, DUMMY_VAR__); + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, DUMMY_VAR__); current_statement__ = 3; @@ -15795,18 +15603,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec = - Eigen::Matrix::Constant(5, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec = - Eigen::Matrix::Constant(5, - std::numeric_limits::quiet_NaN()); + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, std::numeric_limits::quiet_NaN()); @@ -16235,9 +16037,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -16273,9 +16074,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -16322,9 +16122,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); out__.write(alpha); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -17765,31 +17564,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi = DUMMY_VAR__; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma = - Eigen::Matrix::Constant(n_occasions, - DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(epsilon_1dim__, - DUMMY_VAR__); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -17866,31 +17661,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi = DUMMY_VAR__; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma = - Eigen::Matrix::Constant(n_occasions, - DUMMY_VAR__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(epsilon_1dim__, - DUMMY_VAR__); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - local_scalar_t__ sigma = DUMMY_VAR__; + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -17978,31 +17769,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double mean_phi = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p = std::numeric_limits::quiet_NaN(); + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma = - Eigen::Matrix::Constant(n_occasions, - std::numeric_limits::quiet_NaN()); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon = - Eigen::Matrix::Constant(epsilon_1dim__, - std::numeric_limits::quiet_NaN()); + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - double sigma = std::numeric_limits::quiet_NaN(); + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, std::numeric_limits::quiet_NaN()); @@ -19016,9 +18803,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y = DUMMY_VAR__; current_statement__ = 2; @@ -19066,9 +18852,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y = DUMMY_VAR__; current_statement__ = 2; @@ -19127,9 +18912,8 @@ class lcm_experiment2_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -19418,10 +19202,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta = - std::vector(J, DUMMY_VAR__); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -19456,10 +19238,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta = - std::vector(J, DUMMY_VAR__); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -19505,10 +19285,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta = - std::vector(J, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); out__.write(theta); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -20100,14 +19878,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi = DUMMY_VAR__; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -20224,14 +20002,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi = DUMMY_VAR__; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p = DUMMY_VAR__; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -20359,14 +20137,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_phi = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p = std::numeric_limits::quiet_NaN(); + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -20852,9 +20630,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; current_statement__ = 2; tp = foo_lpdf(mu, 1.0, pstream__); @@ -20894,9 +20671,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mu = DUMMY_VAR__; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; current_statement__ = 2; tp = foo_lpdf(mu, 1.0, pstream__); @@ -20947,9 +20723,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double mu = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); double tp = std::numeric_limits::quiet_NaN(); out__.write(mu); if (stan::math::logical_negation( @@ -21417,18 +21192,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha_occ = DUMMY_VAR__; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ = DUMMY_VAR__; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p = DUMMY_VAR__; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p = DUMMY_VAR__; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -21502,18 +21273,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha_occ = DUMMY_VAR__; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ = DUMMY_VAR__; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p = DUMMY_VAR__; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p = DUMMY_VAR__; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -21598,18 +21365,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha_occ = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - alpha_occ = in__.template read(); - double beta_occ = std::numeric_limits::quiet_NaN(); + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - double alpha_p = std::numeric_limits::quiet_NaN(); + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - double beta_p = std::numeric_limits::quiet_NaN(); + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, std::numeric_limits::quiet_NaN()); @@ -22203,35 +21966,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ beta = DUMMY_VAR__; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1 = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2 = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1 = DUMMY_VAR__; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2 = DUMMY_VAR__; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1 = DUMMY_VAR__; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2 = DUMMY_VAR__; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y = DUMMY_VAR__; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -22308,35 +22064,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ beta = DUMMY_VAR__; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1 = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2 = - Eigen::Matrix::Constant(J, DUMMY_VAR__); + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1 = DUMMY_VAR__; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2 = DUMMY_VAR__; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1 = DUMMY_VAR__; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2 = DUMMY_VAR__; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y = DUMMY_VAR__; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -22424,37 +22173,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double beta = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1 = - Eigen::Matrix::Constant(J, - std::numeric_limits::quiet_NaN()); + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2 = - Eigen::Matrix::Constant(J, - std::numeric_limits::quiet_NaN()); + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - double mu_a1 = std::numeric_limits::quiet_NaN(); + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - double mu_a2 = std::numeric_limits::quiet_NaN(); + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - double sigma_a1 = std::numeric_limits::quiet_NaN(); + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_a2 = std::numeric_limits::quiet_NaN(); + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y = std::numeric_limits::quiet_NaN(); + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, std::numeric_limits::quiet_NaN()); @@ -23167,26 +22907,20 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ theta = DUMMY_VAR__; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix = - Eigen::Matrix::Constant(3, 2, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov = - Eigen::Matrix::Constant(2, 2, DUMMY_VAR__); + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); { local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 7; @@ -23463,26 +23197,20 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ theta = DUMMY_VAR__; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi = DUMMY_VAR__; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix = - Eigen::Matrix::Constant(3, 2, DUMMY_VAR__); + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov = - Eigen::Matrix::Constant(2, 2, DUMMY_VAR__); + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); { local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 7; @@ -23770,29 +23498,20 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double theta = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - theta = in__.template read(); - double phi = std::numeric_limits::quiet_NaN(); + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix = - Eigen::Matrix::Constant(3, 2, - std::numeric_limits::quiet_NaN()); + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov = - Eigen::Matrix::Constant(2, 2, - std::numeric_limits::quiet_NaN()); + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); out__.write(theta); out__.write(phi); out__.write(x_matrix); @@ -25467,25 +25186,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(n_pair, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a = DUMMY_VAR__; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a = DUMMY_VAR__; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y = DUMMY_VAR__; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -25556,25 +25271,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(n_pair, DUMMY_VAR__); current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a = DUMMY_VAR__; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a = DUMMY_VAR__; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y = DUMMY_VAR__; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -25656,27 +25367,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a = - Eigen::Matrix::Constant(n_pair, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - double mu_a = std::numeric_limits::quiet_NaN(); + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - double sigma_a = std::numeric_limits::quiet_NaN(); + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y = std::numeric_limits::quiet_NaN(); + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -26152,14 +25857,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2 = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3 = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); { Eigen::Matrix m5 = Eigen::Matrix::Constant(10, 10, @@ -26220,14 +25923,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2 = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3 = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); { Eigen::Matrix m5 = Eigen::Matrix::Constant(10, 10, @@ -26299,16 +26000,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2 = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3 = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); out__.write(m2); out__.write(m3); if (stan::math::logical_negation( @@ -27109,28 +26806,22 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1 = DUMMY_VAR__; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2 = DUMMY_VAR__; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12 = DUMMY_VAR__; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau = DUMMY_VAR__; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b = - std::vector>(I, - Eigen::Matrix::Constant(K, DUMMY_VAR__)); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, K); + auto b = + in__.template read< + std::vector>>(I, K); local_scalar_t__ sigma = DUMMY_VAR__; current_statement__ = 8; sigma = (1 / stan::math::sqrt(tau)); @@ -27198,28 +26889,22 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1 = DUMMY_VAR__; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2 = DUMMY_VAR__; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12 = DUMMY_VAR__; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau = DUMMY_VAR__; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b = - std::vector>(I, - Eigen::Matrix::Constant(K, DUMMY_VAR__)); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, K); + auto b = + in__.template read< + std::vector>>(I, K); local_scalar_t__ sigma = DUMMY_VAR__; current_statement__ = 8; sigma = (1 / stan::math::sqrt(tau)); @@ -27298,29 +26983,22 @@ class stalled1_failure_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - alpha0 = in__.template read(); - double alpha1 = std::numeric_limits::quiet_NaN(); + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - double alpha2 = std::numeric_limits::quiet_NaN(); + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - double alpha12 = std::numeric_limits::quiet_NaN(); + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - double tau = std::numeric_limits::quiet_NaN(); + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b = - std::vector>(I, - Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN())); + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, K); + auto b = + in__.template read< + std::vector>>(I, K); double sigma = std::numeric_limits::quiet_NaN(); out__.write(alpha0); out__.write(alpha1); @@ -27737,9 +27415,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, DUMMY_VAR__)); @@ -27790,9 +27467,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, DUMMY_VAR__)); @@ -27854,9 +27530,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - param = in__.template read(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, @@ -28178,9 +27853,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); local_scalar_t__ no_init = DUMMY_VAR__; local_scalar_t__ init_from_param = DUMMY_VAR__; current_statement__ = 3; @@ -28233,9 +27907,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); local_scalar_t__ no_init = DUMMY_VAR__; local_scalar_t__ init_from_param = DUMMY_VAR__; current_statement__ = 3; @@ -28299,9 +27972,8 @@ class unenforce_initialize_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - y = in__.template read(); + auto y = in__.template read(); double no_init = std::numeric_limits::quiet_NaN(); double init_from_param = std::numeric_limits::quiet_NaN(); double dependent_no_init = std::numeric_limits::quiet_NaN(); diff --git a/test/integration/good/compiler-optimizations/cppO1.expected b/test/integration/good/compiler-optimizations/cppO1.expected index 204ff01a4..94dcb6fc4 100644 --- a/test/integration/good/compiler-optimizations/cppO1.expected +++ b/test/integration/good/compiler-optimizations/cppO1.expected @@ -101,9 +101,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, X_d, "assigning variable X_tp1"); @@ -163,10 +163,10 @@ class ad_level_deep_dependence_model final : public model_base_crtp> X_p; current_statement__ = 1; - X_p = in__.template read< - stan::math::var_value>>(10, 10); + auto X_p = + in__.template read< + stan::math::var_value>>(10, 10); stan::math::var_value> X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, X_d, "assigning variable X_tp1"); @@ -237,9 +237,9 @@ class ad_level_deep_dependence_model final : public model_base_crtp X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -934,22 +934,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -1034,22 +1034,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - local_scalar_t__ gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - local_scalar_t__ delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, DUMMY_VAR__)); @@ -1145,22 +1145,22 @@ class ad_level_failing_model final : public model_base_crtp(0, - lp__); - double gamma; + auto beta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - gamma = in__.template read_constrain_lb(0, lp__); - double xi; + auto gamma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - xi = in__.template read_constrain_lb(0, - lp__); - double delta; + auto xi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - delta = in__.template read_constrain_lb(0, lp__); + auto delta = + in__.template read_constrain_lb(0, + lp__); std::vector> y = std::vector>(N_t, std::vector(4, std::numeric_limits::quiet_NaN())); @@ -1550,9 +1550,9 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, stan::math::exp(X_data), @@ -1593,10 +1593,10 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - stan::math::var_value> X_p; current_statement__ = 1; - X_p = in__.template read< - stan::math::var_value>>(10, 10); + auto X_p = + in__.template read< + stan::math::var_value>>(10, 10); stan::math::var_value> X_tp1; current_statement__ = 2; stan::model::assign(X_tp1, stan::math::exp(X_data), @@ -1648,9 +1648,9 @@ class ad_levels_deep_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix X_p; current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -2032,9 +2032,9 @@ class copy_prop_profile_model final : public model_base_crtp X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -2102,9 +2102,9 @@ class copy_prop_profile_model final : public model_base_crtp X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); { current_statement__ = 2; stan::math::validate_non_negative_index("vec", "N", N); @@ -2183,9 +2183,9 @@ class copy_prop_profile_model final : public model_base_crtp X; current_statement__ = 1; - X = in__.template read>(N, N); + auto X = + in__.template read>(N, N); out__.write(X); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -2842,15 +2842,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -3030,15 +3030,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -3229,15 +3229,15 @@ class copy_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -3944,63 +3944,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -4128,63 +4121,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - local_scalar_t__ b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - local_scalar_t__ b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - local_scalar_t__ b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - local_scalar_t__ b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); { current_statement__ = 17; stan::math::validate_non_negative_index("p", "N", N); @@ -4323,63 +4309,56 @@ class dce_fail_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double sigma; current_statement__ = 1; - sigma = in__.template read_constrain_lb(0, lp__); - double sigma_age; + auto sigma = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - sigma_age = in__.template read_constrain_lb(0, lp__); - double sigma_edu; + auto sigma_age = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 3; - sigma_edu = in__.template read_constrain_lb(0, lp__); - double sigma_state; + auto sigma_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - sigma_state = in__.template read_constrain_lb(0, lp__); - double sigma_region; + auto sigma_state = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - sigma_region = in__.template read_constrain_lb(0, lp__); - double sigma_age_edu; + auto sigma_region = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - sigma_age_edu = in__.template read_constrain_lb(0, lp__); - double b_0; + auto sigma_age_edu = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 7; - b_0 = in__.template read(); - double b_female; + auto b_0 = in__.template read(); current_statement__ = 8; - b_female = in__.template read(); - double b_black; + auto b_female = in__.template read(); current_statement__ = 9; - b_black = in__.template read(); - double b_female_black; + auto b_black = in__.template read(); current_statement__ = 10; - b_female_black = in__.template read(); - double b_v_prev; + auto b_female_black = in__.template read(); current_statement__ = 11; - b_v_prev = in__.template read(); - Eigen::Matrix b_age; + auto b_v_prev = in__.template read(); current_statement__ = 12; - b_age = in__.template read>(n_age); - Eigen::Matrix b_edu; + auto b_age = + in__.template read>(n_age); current_statement__ = 13; - b_edu = in__.template read>(n_edu); - Eigen::Matrix b_region; + auto b_edu = + in__.template read>(n_edu); current_statement__ = 14; - b_region = in__.template read< - Eigen::Matrix>(n_region); - Eigen::Matrix b_age_edu; + auto b_region = + in__.template read>(n_region); current_statement__ = 15; - b_age_edu = in__.template read< - Eigen::Matrix>(n_age, n_edu); - Eigen::Matrix b_hat; + auto b_age_edu = + in__.template read>(n_age, + n_edu); current_statement__ = 16; - b_hat = in__.template read< - Eigen::Matrix>(n_state); + auto b_hat = + in__.template read>(n_state); out__.write(sigma); out__.write(sigma_age); out__.write(sigma_edu); @@ -5693,18 +5672,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma; + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -5762,18 +5741,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma; + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - local_scalar_t__ theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(sigma, 0, 2)); @@ -5842,18 +5821,18 @@ class expr_prop_fail_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix mu; current_statement__ = 1; - mu = in__.template read_constrain_ordered< - Eigen::Matrix, jacobian__>(lp__, 2); - std::vector sigma; + auto mu = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, 2); current_statement__ = 2; - sigma = in__.template read_constrain_lb, - jacobian__>(0, lp__, 2); - double theta; + auto sigma = + in__.template read_constrain_lb, + jacobian__>(0, lp__, 2); current_statement__ = 3; - theta = in__.template read_constrain_lub(0, 1, lp__); + auto theta = + in__.template read_constrain_lub(0, 1, + lp__); out__.write(mu); out__.write(sigma); out__.write(theta); @@ -6218,16 +6197,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta; + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -6264,16 +6241,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta; + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - local_scalar_t__ tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); { current_statement__ = 4; lp_accum__.add(stan::math::normal_lpdf(theta, mu, tau)); @@ -6321,16 +6296,14 @@ class expr_prop_fail2_model final : public model_base_crtp(); - std::vector theta; + auto mu = in__.template read(); current_statement__ = 2; - theta = in__.template read>(J); - double tau; + auto theta = in__.template read>(J); current_statement__ = 3; - tau = in__.template read_constrain_lb(0, - lp__); + auto tau = + in__.template read_constrain_lb(0, + lp__); out__.write(mu); out__.write(theta); out__.write(tau); @@ -6909,45 +6882,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -7043,45 +7015,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - local_scalar_t__ sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; @@ -7188,45 +7159,44 @@ class expr_prop_fail3_model final : public model_base_crtp a; current_statement__ = 1; - a = in__.template read>(n_age); - Eigen::Matrix b; + auto a = + in__.template read>(n_age); current_statement__ = 2; - b = in__.template read>(n_edu); - Eigen::Matrix c; + auto b = + in__.template read>(n_edu); current_statement__ = 3; - c = in__.template read>(n_age_edu); - Eigen::Matrix d; + auto c = + in__.template read>(n_age_edu); current_statement__ = 4; - d = in__.template read>(n_state); - Eigen::Matrix e; + auto d = + in__.template read>(n_state); current_statement__ = 5; - e = in__.template read< - Eigen::Matrix>(n_region_full); - Eigen::Matrix beta; + auto e = + in__.template read< + Eigen::Matrix>(n_region_full); current_statement__ = 6; - beta = in__.template read>(5); - double sigma_a; + auto beta = in__.template read>(5); current_statement__ = 7; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_b; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_b = in__.template read_constrain_lub(0, 100, lp__); - double sigma_c; + auto sigma_b = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 9; - sigma_c = in__.template read_constrain_lub(0, 100, lp__); - double sigma_d; + auto sigma_c = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 10; - sigma_d = in__.template read_constrain_lub(0, 100, lp__); - double sigma_e; + auto sigma_d = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 11; - sigma_e = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_e = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -7970,14 +7940,14 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - Eigen::Matrix phi_std_raw; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - Eigen::Matrix>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + Eigen::Matrix>(phi_std_raw_1dim__); local_scalar_t__ sigma_phi; current_statement__ = 3; sigma_phi = stan::math::inv_sqrt(tau_phi); @@ -8036,14 +8006,14 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - stan::math::var_value> phi_std_raw; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - stan::math::var_value>>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + stan::math::var_value>>(phi_std_raw_1dim__); local_scalar_t__ sigma_phi; current_statement__ = 3; sigma_phi = stan::math::inv_sqrt(tau_phi); @@ -8115,14 +8085,14 @@ class expr_prop_fail4_model final : public model_base_crtp(0, lp__); - Eigen::Matrix phi_std_raw; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 2; - phi_std_raw = in__.template read< - Eigen::Matrix>(phi_std_raw_1dim__); + auto phi_std_raw = + in__.template read< + Eigen::Matrix>(phi_std_raw_1dim__); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -8922,22 +8892,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -9123,22 +9092,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -9335,22 +9303,21 @@ class expr_prop_fail5_model final : public model_base_crtp(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix epsilon; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - epsilon = in__.template read< - Eigen::Matrix>(nind); - double sigma; + auto epsilon = + in__.template read>(nind); current_statement__ = 4; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -10572,30 +10539,29 @@ class expr_prop_fail6_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -11018,30 +10984,29 @@ class expr_prop_fail6_model final : public model_base_crtp(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - local_scalar_t__ sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -11475,30 +11440,29 @@ class expr_prop_fail6_model final : public model_base_crtp(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - double psi; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - psi = in__.template read_constrain_lub(0, - 1, lp__); - Eigen::Matrix beta; + auto psi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 4; - beta = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto beta = + in__.template read_constrain_lb, + jacobian__>(0, lp__, n_occasions); current_statement__ = 5; - epsilon = in__.template read>(M); - double sigma; + auto epsilon = + in__.template read>(M); current_statement__ = 6; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, std::numeric_limits::quiet_NaN()); @@ -12461,16 +12425,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta; + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 11; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -12544,17 +12507,16 @@ class expr_prop_fail7_model final : public model_base_crtp> pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - stan::math::var_value>, - jacobian__>(lp__, K); - std::vector>> theta; + auto pi = + in__.template read_constrain_simplex< + stan::math::var_value>, + jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); { current_statement__ = 11; lp_accum__.add(stan::math::dirichlet_lpdf(pi, alpha)); @@ -12639,16 +12601,15 @@ class expr_prop_fail7_model final : public model_base_crtp pi; current_statement__ = 1; - pi = in__.template read_constrain_simplex< - Eigen::Matrix, jacobian__>(lp__, K); - std::vector>> theta; + auto pi = + in__.template read_constrain_simplex< + Eigen::Matrix, jacobian__>(lp__, K); current_statement__ = 2; - theta = in__.template read_constrain_simplex< - std::vector< - std::vector>>, - jacobian__>(lp__, J, K, K); + auto theta = + in__.template read_constrain_simplex< + std::vector>>, + jacobian__>(lp__, J, K, K); out__.write(pi); current_statement__ = 2; for (int sym1__ = 1; sym1__ <= K; ++sym1__) { @@ -13171,27 +13132,24 @@ class expr_prop_fail8_model final : public model_base_crtp(); - local_scalar_t__ beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw; + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); local_scalar_t__ sigma_phi; current_statement__ = 7; sigma_phi = stan::math::inv_sqrt(tau_phi); @@ -13243,28 +13201,26 @@ class expr_prop_fail8_model final : public model_base_crtp(); - local_scalar_t__ beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - local_scalar_t__ tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - stan::math::var_value> theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> phi_std_raw; + auto theta_std = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - stan::math::var_value>>(N); + auto phi_std_raw = + in__.template read< + stan::math::var_value>>(N); local_scalar_t__ sigma_phi; current_statement__ = 7; sigma_phi = stan::math::inv_sqrt(tau_phi); @@ -13329,27 +13285,24 @@ class expr_prop_fail8_model final : public model_base_crtp(); - double beta1; + auto beta0 = in__.template read(); current_statement__ = 2; - beta1 = in__.template read(); - double tau_theta; + auto beta1 = in__.template read(); current_statement__ = 3; - tau_theta = in__.template read_constrain_lb(0, lp__); - double tau_phi; + auto tau_theta = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 4; - tau_phi = in__.template read_constrain_lb(0, lp__); - Eigen::Matrix theta_std; + auto tau_phi = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 5; - theta_std = in__.template read>(N); - Eigen::Matrix phi_std_raw; + auto theta_std = + in__.template read>(N); current_statement__ = 6; - phi_std_raw = in__.template read< - Eigen::Matrix>(N); + auto phi_std_raw = + in__.template read>(N); double sigma_phi = std::numeric_limits::quiet_NaN(); Eigen::Matrix phi = Eigen::Matrix::Constant(N, @@ -14133,15 +14086,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -14321,15 +14274,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -14520,15 +14473,15 @@ class fails_test_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_p; current_statement__ = 1; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix beta; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - beta = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - max_age); + auto beta = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + max_age); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -16261,13 +16214,12 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix y; current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec; + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x; current_statement__ = 3; stan::model::assign(x, @@ -16314,15 +16266,15 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - stan::math::var_value> y; current_statement__ = 1; - y = in__.template read< - stan::math::var_value>>(3); - std::vector>> arr_vec; + auto y = + in__.template read< + stan::math::var_value>>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector< - stan::math::var_value>>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>>(3, + 4); stan::math::var_value> x; current_statement__ = 3; stan::model::assign(x, @@ -16380,13 +16332,12 @@ class initialize_SoA_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - Eigen::Matrix y; current_statement__ = 1; - y = in__.template read>(3); - std::vector> arr_vec; + auto y = in__.template read>(3); current_statement__ = 2; - arr_vec = in__.template read< - std::vector>>(3, 4); + auto arr_vec = + in__.template read< + std::vector>>(3, 4); Eigen::Matrix x = Eigen::Matrix::Constant(3, std::numeric_limits::quiet_NaN()); @@ -16830,14 +16781,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, DUMMY_VAR__); Eigen::Matrix @@ -16902,14 +16851,14 @@ class inline_functions_varmat_model final : public model_base_crtp> p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - stan::math::var_value>>(5); - stan::math::var_value> p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read< + stan::math::var_value>>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - stan::math::var_value>>(5); + auto p_multi_ret_vec = + in__.template read< + stan::math::var_value>>(5); stan::math::var_value> tp_single_ret_vec = stan::math::var_value>(Eigen::Matrix::Constant(5, std::numeric_limits::quiet_NaN( @@ -16992,14 +16941,12 @@ class inline_functions_varmat_model final : public model_base_crtp p_single_ret_vec; current_statement__ = 1; - p_single_ret_vec = in__.template read< - Eigen::Matrix>(5); - Eigen::Matrix p_multi_ret_vec; + auto p_single_ret_vec = + in__.template read>(5); current_statement__ = 2; - p_multi_ret_vec = in__.template read< - Eigen::Matrix>(5); + auto p_multi_ret_vec = + in__.template read>(5); Eigen::Matrix tp_single_ret_vec = Eigen::Matrix::Constant(5, std::numeric_limits::quiet_NaN()); @@ -17446,9 +17393,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -17484,9 +17430,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf( @@ -17533,9 +17478,8 @@ class inline_tdata_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha; current_statement__ = 1; - alpha = in__.template read(); + auto alpha = in__.template read(); out__.write(alpha); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -19010,27 +18954,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - local_scalar_t__ sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -19421,27 +19365,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - local_scalar_t__ sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, DUMMY_VAR__); @@ -19843,27 +19787,27 @@ class inlining_fail2_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); - Eigen::Matrix gamma; + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 3; - gamma = in__.template read_constrain_lub< - Eigen::Matrix, jacobian__>(0, 1, lp__, - n_occasions); - Eigen::Matrix epsilon; + auto gamma = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(0, 1, lp__, + n_occasions); current_statement__ = 4; - epsilon = in__.template read< - Eigen::Matrix>(epsilon_1dim__); - double sigma; + auto epsilon = + in__.template read< + Eigen::Matrix>(epsilon_1dim__); current_statement__ = 5; - sigma = in__.template read_constrain_lub(0, 5, lp__); + auto sigma = + in__.template read_constrain_lub(0, 5, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(M, phi_2dim__, std::numeric_limits::quiet_NaN()); @@ -20991,9 +20935,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y; current_statement__ = 2; @@ -21040,9 +20983,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); { local_scalar_t__ y; current_statement__ = 2; @@ -21100,9 +21042,8 @@ class lcm_experiment2_model final : public model_base_crtp(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -21391,9 +21332,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta; current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -21428,9 +21368,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta; current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); { current_statement__ = 2; lp_accum__.add(stan::math::normal_lpdf(y, theta, 1)); @@ -21476,9 +21415,8 @@ class lcm_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector theta; current_statement__ = 1; - theta = in__.template read>(J); + auto theta = in__.template read>(J); out__.write(theta); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -22069,14 +22007,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -22252,14 +22190,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, DUMMY_VAR__); @@ -22446,14 +22384,14 @@ class lcm_fails2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double mean_phi; current_statement__ = 1; - mean_phi = in__.template read_constrain_lub(0, 1, lp__); - double mean_p; + auto mean_phi = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 2; - mean_p = in__.template read_constrain_lub(0, 1, lp__); + auto mean_p = + in__.template read_constrain_lub(0, 1, + lp__); Eigen::Matrix phi = Eigen::Matrix::Constant(nind, n_occ_minus_1, std::numeric_limits::quiet_NaN()); @@ -22995,9 +22933,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; local_scalar_t__ inline_foo_lpdf_return_sym23__; { @@ -23059,9 +22996,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); local_scalar_t__ tp = DUMMY_VAR__; local_scalar_t__ inline_foo_lpdf_return_sym16__; { @@ -23134,9 +23070,8 @@ class lupdf_inlining_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double mu; current_statement__ = 1; - mu = in__.template read(); + auto mu = in__.template read(); double tp = std::numeric_limits::quiet_NaN(); out__.write(mu); if (stan::math::logical_negation( @@ -23625,18 +23560,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -23708,18 +23639,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - local_scalar_t__ beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - local_scalar_t__ alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - local_scalar_t__ beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, DUMMY_VAR__); Eigen::Matrix logit_p = @@ -23802,18 +23729,14 @@ class off_dce_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha_occ; current_statement__ = 1; - alpha_occ = in__.template read(); - double beta_occ; + auto alpha_occ = in__.template read(); current_statement__ = 2; - beta_occ = in__.template read(); - double alpha_p; + auto beta_occ = in__.template read(); current_statement__ = 3; - alpha_p = in__.template read(); - double beta_p; + auto alpha_p = in__.template read(); current_statement__ = 4; - beta_p = in__.template read(); + auto beta_p = in__.template read(); Eigen::Matrix logit_psi = Eigen::Matrix::Constant(R, std::numeric_limits::quiet_NaN()); @@ -24403,33 +24326,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -24508,33 +24426,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - local_scalar_t__ mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - local_scalar_t__ mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - local_scalar_t__ sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, DUMMY_VAR__); Eigen::Matrix a2 = @@ -24624,33 +24537,28 @@ class off_small_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double beta; current_statement__ = 1; - beta = in__.template read(); - Eigen::Matrix eta1; + auto beta = in__.template read(); current_statement__ = 2; - eta1 = in__.template read>(J); - Eigen::Matrix eta2; + auto eta1 = in__.template read>(J); current_statement__ = 3; - eta2 = in__.template read>(J); - double mu_a1; + auto eta2 = in__.template read>(J); current_statement__ = 4; - mu_a1 = in__.template read(); - double mu_a2; + auto mu_a1 = in__.template read(); current_statement__ = 5; - mu_a2 = in__.template read(); - double sigma_a1; + auto mu_a2 = in__.template read(); current_statement__ = 6; - sigma_a1 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_a2; + auto sigma_a1 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 7; - sigma_a2 = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y; + auto sigma_a2 = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 8; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix a1 = Eigen::Matrix::Constant(J, std::numeric_limits::quiet_NaN()); @@ -25315,23 +25223,20 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ theta; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector; + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov; + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); { local_scalar_t__ x = DUMMY_VAR__; { @@ -25646,25 +25551,23 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ theta; current_statement__ = 1; - theta = in__.template read(); - local_scalar_t__ phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - stan::math::var_value> x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read< - stan::math::var_value>>(3, 2); - stan::math::var_value> x_vector; + auto x_matrix = + in__.template read< + stan::math::var_value>>(3, 2); current_statement__ = 4; - x_vector = in__.template read< - stan::math::var_value>>(2); - stan::math::var_value> x_cov; + auto x_vector = + in__.template read< + stan::math::var_value>>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - stan::math::var_value>, - jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + stan::math::var_value>, + jacobian__>(lp__, 2); { local_scalar_t__ x = DUMMY_VAR__; { @@ -25990,23 +25893,20 @@ class optimizations_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double theta; current_statement__ = 1; - theta = in__.template read(); - double phi; + auto theta = in__.template read(); current_statement__ = 2; - phi = in__.template read(); - Eigen::Matrix x_matrix; + auto phi = in__.template read(); current_statement__ = 3; - x_matrix = in__.template read>(3, - 2); - Eigen::Matrix x_vector; + auto x_matrix = + in__.template read>(3, 2); current_statement__ = 4; - x_vector = in__.template read>(2); - Eigen::Matrix x_cov; + auto x_vector = + in__.template read>(2); current_statement__ = 5; - x_cov = in__.template read_constrain_cov_matrix< - Eigen::Matrix, jacobian__>(lp__, 2); + auto x_cov = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, 2); out__.write(theta); out__.write(phi); out__.write(x_matrix); @@ -27673,23 +27573,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -27762,23 +27660,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - local_scalar_t__ mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - local_scalar_t__ sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - local_scalar_t__ sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 8; @@ -27862,23 +27758,21 @@ class partial_eval_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix a; current_statement__ = 1; - a = in__.template read>(n_pair); - Eigen::Matrix beta; + auto a = + in__.template read>(n_pair); current_statement__ = 2; - beta = in__.template read>(2); - double mu_a; + auto beta = in__.template read>(2); current_statement__ = 3; - mu_a = in__.template read(); - double sigma_a; + auto mu_a = in__.template read(); current_statement__ = 4; - sigma_a = in__.template read_constrain_lub(0, 100, lp__); - double sigma_y; + auto sigma_a = + in__.template read_constrain_lub(0, + 100, lp__); current_statement__ = 5; - sigma_y = in__.template read_constrain_lub(0, 100, lp__); + auto sigma_y = + in__.template read_constrain_lub(0, + 100, lp__); Eigen::Matrix y_hat = Eigen::Matrix::Constant(N, std::numeric_limits::quiet_NaN()); @@ -28355,12 +28249,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2; current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3; + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); { Eigen::Matrix m5; current_statement__ = 3; @@ -28413,14 +28307,14 @@ class partial_eval_multiply_model final : public model_base_crtp> m2; current_statement__ = 1; - m2 = in__.template read< - stan::math::var_value>>(10, 10); - stan::math::var_value> m3; + auto m2 = + in__.template read< + stan::math::var_value>>(10, 10); current_statement__ = 2; - m3 = in__.template read< - stan::math::var_value>>(10, 10); + auto m3 = + in__.template read< + stan::math::var_value>>(10, 10); { stan::math::var_value> m5; current_statement__ = 3; @@ -28484,12 +28378,12 @@ class partial_eval_multiply_model final : public model_base_crtp m2; current_statement__ = 1; - m2 = in__.template read>(10, 10); - Eigen::Matrix m3; + auto m2 = + in__.template read>(10, 10); current_statement__ = 2; - m3 = in__.template read>(10, 10); + auto m3 = + in__.template read>(10, 10); out__.write(m2); out__.write(m3); if (stan::math::logical_negation( @@ -29288,26 +29182,22 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b; + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, 8); + auto b = + in__.template read< + std::vector>>(I, 8); local_scalar_t__ sigma; current_statement__ = 8; sigma = (1 / stan::math::sqrt(tau)); @@ -29378,27 +29268,23 @@ class stalled1_failure_model final : public model_base_crtp(); - local_scalar_t__ alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - local_scalar_t__ alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - local_scalar_t__ alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - local_scalar_t__ tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector>> b; + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>>(I, - 8); + auto b = + in__.template read< + std::vector>>>(I, + 8); local_scalar_t__ sigma; current_statement__ = 8; sigma = (1 / stan::math::sqrt(tau)); @@ -29480,26 +29366,22 @@ class stalled1_failure_model final : public model_base_crtp(); - double alpha1; + auto alpha0 = in__.template read(); current_statement__ = 2; - alpha1 = in__.template read(); - double alpha2; + auto alpha1 = in__.template read(); current_statement__ = 3; - alpha2 = in__.template read(); - double alpha12; + auto alpha2 = in__.template read(); current_statement__ = 4; - alpha12 = in__.template read(); - double tau; + auto alpha12 = in__.template read(); current_statement__ = 5; - tau = in__.template read_constrain_lb(0, - lp__); - std::vector> b; + auto tau = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 6; - b = in__.template read< - std::vector>>(I, 8); + auto b = + in__.template read< + std::vector>>(I, 8); double sigma = std::numeric_limits::quiet_NaN(); out__.write(alpha0); out__.write(alpha1); @@ -29916,9 +29798,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local; current_statement__ = 2; stan::model::assign(local, inputs, "assigning variable local"); @@ -29967,9 +29848,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local; current_statement__ = 2; stan::model::assign(local, inputs, "assigning variable local"); @@ -30029,9 +29909,8 @@ class unenforce_initialize_should_fail_model final : public model_base_crtp(); + auto param = in__.template read(); std::vector> local = std::vector>(2, Eigen::Matrix::Constant(5, @@ -30352,9 +30231,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); local_scalar_t__ no_init = DUMMY_VAR__; local_scalar_t__ init_from_param; current_statement__ = 3; @@ -30406,9 +30284,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); local_scalar_t__ no_init = DUMMY_VAR__; local_scalar_t__ init_from_param; current_statement__ = 3; @@ -30471,9 +30348,8 @@ class unenforce_initialize_model final : public model_base_crtp(); + auto y = in__.template read(); double no_init = std::numeric_limits::quiet_NaN(); double init_from_param = std::numeric_limits::quiet_NaN(); double dependent_no_init = std::numeric_limits::quiet_NaN(); diff --git a/test/integration/good/compiler-optimizations/mem_patterns/cpp.expected b/test/integration/good/compiler-optimizations/mem_patterns/cpp.expected index 3f4ace7c4..e04b50e36 100644 --- a/test/integration/good/compiler-optimizations/mem_patterns/cpp.expected +++ b/test/integration/good/compiler-optimizations/mem_patterns/cpp.expected @@ -166,16 +166,12 @@ class ad_scalar_data_matrix_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 2; - sigma = in__.template read(); - Eigen::Matrix beta = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto sigma = in__.template read(); current_statement__ = 3; - beta = in__.template read>(N); + auto beta = in__.template read>(N); { current_statement__ = 4; stan::math::validate_non_negative_index("soa_simple", "N", N); @@ -332,19 +328,14 @@ class ad_scalar_data_matrix_model final : public model_base_crtp(); - local_scalar_t__ sigma = DUMMY_VAR__; + auto alpha = in__.template read(); current_statement__ = 2; - sigma = in__.template read(); - stan::math::var_value> beta = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto sigma = in__.template read(); current_statement__ = 3; - beta = in__.template read< - stan::math::var_value>>(N); + auto beta = + in__.template read< + stan::math::var_value>>(N); { current_statement__ = 4; stan::math::validate_non_negative_index("soa_simple", "N", N); @@ -533,17 +524,12 @@ class ad_scalar_data_matrix_model final : public model_base_crtp::quiet_NaN(); current_statement__ = 1; - alpha = in__.template read(); - double sigma = std::numeric_limits::quiet_NaN(); + auto alpha = in__.template read(); current_statement__ = 2; - sigma = in__.template read(); - Eigen::Matrix beta = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto sigma = in__.template read(); current_statement__ = 3; - beta = in__.template read>(N); + auto beta = in__.template read>(N); out__.write(alpha); out__.write(sigma); out__.write(beta); @@ -856,10 +842,9 @@ class complex_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - A_p = in__.template read>(10, 10); + auto A_p = + in__.template read>(10, 10); Eigen::Matrix,-1,-1> A_complex_tp = Eigen::Matrix,-1,-1>::Constant(10, 10, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -896,10 +881,9 @@ class complex_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - A_p = in__.template read>(10, 10); + auto A_p = + in__.template read>(10, 10); Eigen::Matrix,-1,-1> A_complex_tp = Eigen::Matrix,-1,-1>::Constant(10, 10, std::complex(DUMMY_VAR__, DUMMY_VAR__)); @@ -947,11 +931,9 @@ class complex_fails_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - A_p = in__.template read>(10, 10); + auto A_p = + in__.template read>(10, 10); Eigen::Matrix,-1,-1> A_complex_tp = Eigen::Matrix,-1,-1>::Constant(10, 10, std::complex(std::numeric_limits::quiet_NaN(), @@ -1618,85 +1600,65 @@ class constraints_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix high_low_est = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 1; - high_low_est = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(diff_low_mid, diff_high_mid, lp__, N); + auto high_low_est = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(diff_low_mid, + diff_high_mid, lp__, N); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "lower", diff_low_mid); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "upper", diff_high_mid); - Eigen::Matrix b = - Eigen::Matrix::Constant(K, DUMMY_VAR__); current_statement__ = 2; - b = in__.template read>(K); - Eigen::Matrix h = - Eigen::Matrix::Constant(Nr, DUMMY_VAR__); + auto b = in__.template read>(K); current_statement__ = 3; - h = in__.template read>(Nr); - Eigen::Matrix ar = - Eigen::Matrix::Constant(2, DUMMY_VAR__); + auto h = in__.template read>(Nr); current_statement__ = 4; - ar = in__.template read>(2); - local_scalar_t__ ma = DUMMY_VAR__; + auto ar = in__.template read>(2); current_statement__ = 5; - ma = in__.template read(); - local_scalar_t__ phi_beta = DUMMY_VAR__; + auto ma = in__.template read(); current_statement__ = 6; - phi_beta = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ sigma2 = DUMMY_VAR__; + auto phi_beta = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 7; - sigma2 = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ Intercept = DUMMY_VAR__; + auto sigma2 = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 8; - Intercept = in__.template read(); - Eigen::Matrix mean_price = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto Intercept = in__.template read(); current_statement__ = 9; - mean_price = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix sigma_price = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto mean_price = + in__.template read>(N); current_statement__ = 10; - sigma_price = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0.0, - lp__, N); - local_scalar_t__ theta = DUMMY_VAR__; + auto sigma_price = + in__.template read_constrain_lb, + jacobian__>(0.0, lp__, N); current_statement__ = 11; - theta = in__.template read(); - Eigen::Matrix upper_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto theta = in__.template read(); current_statement__ = 12; - upper_test = in__.template read_constrain_ub< - Eigen::Matrix, jacobian__>(ma, - lp__, N); - Eigen::Matrix lower_upper_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto upper_test = + in__.template read_constrain_ub, + jacobian__>(ma, lp__, N); current_statement__ = 13; - lower_upper_test = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(sigma_price, upper_test, lp__, N); + auto lower_upper_test = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(sigma_price, + upper_test, lp__, N); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "lower", sigma_price); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "upper", upper_test); - Eigen::Matrix row_vec_lower_upper_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 14; - row_vec_lower_upper_test = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::math::transpose( - sigma_price), - stan::math::transpose(upper_test), lp__, - N); + auto row_vec_lower_upper_test = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::math::transpose(sigma_price), + stan::math::transpose(upper_test), lp__, N); current_statement__ = 14; stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "lower", @@ -1705,60 +1667,45 @@ class constraints_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "upper", stan::math::transpose(upper_test)); - Eigen::Matrix offset_mult_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 15; - offset_mult_test = in__.template read_constrain_offset_multiplier< - Eigen::Matrix, - jacobian__>(mean_price, sigma_price, lp__, N); + auto offset_mult_test = + in__.template read_constrain_offset_multiplier< + Eigen::Matrix, jacobian__>(mean_price, + sigma_price, lp__, N); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "offset", mean_price); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "multiplier", sigma_price); - Eigen::Matrix ordered_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); current_statement__ = 16; - ordered_test = in__.template read_constrain_ordered< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix unit_vec_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto ordered_test = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 17; - unit_vec_test = in__.template read_constrain_unit_vector< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix pos_ordered_test = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto unit_vec_test = + in__.template read_constrain_unit_vector< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 18; - pos_ordered_test = in__.template read_constrain_positive_ordered< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix corr_matrix_test = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto pos_ordered_test = + in__.template read_constrain_positive_ordered< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 19; - corr_matrix_test = in__.template read_constrain_corr_matrix< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix cov_matrix_test = - Eigen::Matrix::Constant(N, N, DUMMY_VAR__); + auto corr_matrix_test = + in__.template read_constrain_corr_matrix< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 20; - cov_matrix_test = in__.template read_constrain_cov_matrix< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix chol_fac_cov_test = - Eigen::Matrix::Constant(K, K, DUMMY_VAR__); + auto cov_matrix_test = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 21; - chol_fac_cov_test = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, - jacobian__>(lp__, K, K); - Eigen::Matrix chol_fac_corr_test = - Eigen::Matrix::Constant(K, K, DUMMY_VAR__); + auto chol_fac_cov_test = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, K, K); current_statement__ = 22; - chol_fac_corr_test = in__.template read_constrain_cholesky_factor_corr< - Eigen::Matrix, - jacobian__>(lp__, K); + auto chol_fac_corr_test = + in__.template read_constrain_cholesky_factor_corr< + Eigen::Matrix, jacobian__>(lp__, K); local_scalar_t__ phi = DUMMY_VAR__; current_statement__ = 23; phi = stan::math::fma(phi_beta, 2.0, -(1.0)); @@ -1924,107 +1871,74 @@ class constraints_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - stan::math::var_value> high_low_est = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 1; - high_low_est = in__.template read_constrain_lub< - stan::math::var_value>, - jacobian__>(diff_low_mid, diff_high_mid, lp__, N); + auto high_low_est = + in__.template read_constrain_lub< + stan::math::var_value>, + jacobian__>(diff_low_mid, diff_high_mid, lp__, N); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "lower", diff_low_mid); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "upper", diff_high_mid); - stan::math::var_value> b = - stan::math::var_value>(Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 2; - b = in__.template read< - stan::math::var_value>>(K); - stan::math::var_value> h = - stan::math::var_value>(Eigen::Matrix::Constant(Nr, - std::numeric_limits::quiet_NaN( - ))); + auto b = + in__.template read< + stan::math::var_value>>(K); current_statement__ = 3; - h = in__.template read< - stan::math::var_value>>(Nr); - stan::math::var_value> ar = - stan::math::var_value>(Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN( - ))); + auto h = + in__.template read< + stan::math::var_value>>(Nr); current_statement__ = 4; - ar = in__.template read< - stan::math::var_value>>(2); - local_scalar_t__ ma = DUMMY_VAR__; + auto ar = + in__.template read< + stan::math::var_value>>(2); current_statement__ = 5; - ma = in__.template read(); - local_scalar_t__ phi_beta = DUMMY_VAR__; + auto ma = in__.template read(); current_statement__ = 6; - phi_beta = in__.template read_constrain_lub(0, 1, lp__); - local_scalar_t__ sigma2 = DUMMY_VAR__; + auto phi_beta = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 7; - sigma2 = in__.template read_constrain_lb(0, lp__); - local_scalar_t__ Intercept = DUMMY_VAR__; + auto sigma2 = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 8; - Intercept = in__.template read(); - stan::math::var_value> mean_price = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto Intercept = in__.template read(); current_statement__ = 9; - mean_price = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> sigma_price = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto mean_price = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 10; - sigma_price = in__.template read_constrain_lb< - stan::math::var_value>, - jacobian__>(0.0, lp__, N); - local_scalar_t__ theta = DUMMY_VAR__; + auto sigma_price = + in__.template read_constrain_lb< + stan::math::var_value>, jacobian__>(0.0, + lp__, N); current_statement__ = 11; - theta = in__.template read(); - stan::math::var_value> upper_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto theta = in__.template read(); current_statement__ = 12; - upper_test = in__.template read_constrain_ub< - stan::math::var_value>, - jacobian__>(ma, lp__, N); - stan::math::var_value> lower_upper_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto upper_test = + in__.template read_constrain_ub< + stan::math::var_value>, jacobian__>(ma, + lp__, N); current_statement__ = 13; - lower_upper_test = in__.template read_constrain_lub< - stan::math::var_value>, - jacobian__>(sigma_price, upper_test, lp__, N); + auto lower_upper_test = + in__.template read_constrain_lub< + stan::math::var_value>, + jacobian__>(sigma_price, upper_test, lp__, N); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "lower", sigma_price); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "upper", upper_test); - stan::math::var_value> - row_vec_lower_upper_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 14; - row_vec_lower_upper_test = in__.template read_constrain_lub< - stan::math::var_value>, - jacobian__>(stan::math::transpose( - sigma_price), - stan::math::transpose(upper_test), lp__, - N); + auto row_vec_lower_upper_test = + in__.template read_constrain_lub< + stan::math::var_value>, + jacobian__>(stan::math::transpose(sigma_price), + stan::math::transpose(upper_test), lp__, N); current_statement__ = 14; stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "lower", @@ -2033,80 +1947,52 @@ class constraints_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "upper", stan::math::transpose(upper_test)); - stan::math::var_value> offset_mult_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 15; - offset_mult_test = in__.template read_constrain_offset_multiplier< - stan::math::var_value>, - jacobian__>(mean_price, sigma_price, lp__, N); + auto offset_mult_test = + in__.template read_constrain_offset_multiplier< + stan::math::var_value>, + jacobian__>(mean_price, sigma_price, lp__, N); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "offset", mean_price); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "multiplier", sigma_price); - stan::math::var_value> ordered_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 16; - ordered_test = in__.template read_constrain_ordered< - stan::math::var_value>, - jacobian__>(lp__, N); - stan::math::var_value> unit_vec_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto ordered_test = + in__.template read_constrain_ordered< + stan::math::var_value>, + jacobian__>(lp__, N); current_statement__ = 17; - unit_vec_test = in__.template read_constrain_unit_vector< - stan::math::var_value>, - jacobian__>(lp__, N); - stan::math::var_value> pos_ordered_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto unit_vec_test = + in__.template read_constrain_unit_vector< + stan::math::var_value>, + jacobian__>(lp__, N); current_statement__ = 18; - pos_ordered_test = in__.template read_constrain_positive_ordered< - stan::math::var_value>, - jacobian__>(lp__, N); - stan::math::var_value> corr_matrix_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - N, - std::numeric_limits::quiet_NaN( - ))); + auto pos_ordered_test = + in__.template read_constrain_positive_ordered< + stan::math::var_value>, + jacobian__>(lp__, N); current_statement__ = 19; - corr_matrix_test = in__.template read_constrain_corr_matrix< - stan::math::var_value>, - jacobian__>(lp__, N); - stan::math::var_value> cov_matrix_test = - stan::math::var_value>(Eigen::Matrix::Constant(N, - N, - std::numeric_limits::quiet_NaN( - ))); + auto corr_matrix_test = + in__.template read_constrain_corr_matrix< + stan::math::var_value>, + jacobian__>(lp__, N); current_statement__ = 20; - cov_matrix_test = in__.template read_constrain_cov_matrix< - stan::math::var_value>, - jacobian__>(lp__, N); - stan::math::var_value> chol_fac_cov_test = - stan::math::var_value>(Eigen::Matrix::Constant(K, - K, - std::numeric_limits::quiet_NaN( - ))); + auto cov_matrix_test = + in__.template read_constrain_cov_matrix< + stan::math::var_value>, + jacobian__>(lp__, N); current_statement__ = 21; - chol_fac_cov_test = in__.template read_constrain_cholesky_factor_cov< - stan::math::var_value>, - jacobian__>(lp__, K, K); - stan::math::var_value> chol_fac_corr_test = - stan::math::var_value>(Eigen::Matrix::Constant(K, - K, - std::numeric_limits::quiet_NaN( - ))); + auto chol_fac_cov_test = + in__.template read_constrain_cholesky_factor_cov< + stan::math::var_value>, + jacobian__>(lp__, K, K); current_statement__ = 22; - chol_fac_corr_test = in__.template read_constrain_cholesky_factor_corr< - stan::math::var_value>, - jacobian__>(lp__, K); + auto chol_fac_corr_test = + in__.template read_constrain_cholesky_factor_corr< + stan::math::var_value>, + jacobian__>(lp__, K); local_scalar_t__ phi = DUMMY_VAR__; current_statement__ = 23; phi = stan::math::fma(phi_beta, 2.0, -(1.0)); @@ -2297,94 +2183,65 @@ class constraints_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix high_low_est = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - high_low_est = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(diff_low_mid, diff_high_mid, lp__, N); + auto high_low_est = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(diff_low_mid, + diff_high_mid, lp__, N); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "lower", diff_low_mid); current_statement__ = 1; stan::math::check_matching_dims("constraint", "high_low_est", high_low_est, "upper", diff_high_mid); - Eigen::Matrix b = - Eigen::Matrix::Constant(K, - std::numeric_limits::quiet_NaN()); current_statement__ = 2; - b = in__.template read>(K); - Eigen::Matrix h = - Eigen::Matrix::Constant(Nr, - std::numeric_limits::quiet_NaN()); + auto b = in__.template read>(K); current_statement__ = 3; - h = in__.template read>(Nr); - Eigen::Matrix ar = - Eigen::Matrix::Constant(2, - std::numeric_limits::quiet_NaN()); + auto h = in__.template read>(Nr); current_statement__ = 4; - ar = in__.template read>(2); - double ma = std::numeric_limits::quiet_NaN(); + auto ar = in__.template read>(2); current_statement__ = 5; - ma = in__.template read(); - double phi_beta = std::numeric_limits::quiet_NaN(); + auto ma = in__.template read(); current_statement__ = 6; - phi_beta = in__.template read_constrain_lub(0, 1, lp__); - double sigma2 = std::numeric_limits::quiet_NaN(); + auto phi_beta = + in__.template read_constrain_lub(0, 1, + lp__); current_statement__ = 7; - sigma2 = in__.template read_constrain_lb(0, lp__); - double Intercept = std::numeric_limits::quiet_NaN(); + auto sigma2 = + in__.template read_constrain_lb(0, + lp__); current_statement__ = 8; - Intercept = in__.template read(); - Eigen::Matrix mean_price = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto Intercept = in__.template read(); current_statement__ = 9; - mean_price = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix sigma_price = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto mean_price = + in__.template read>(N); current_statement__ = 10; - sigma_price = in__.template read_constrain_lb< - Eigen::Matrix, jacobian__>(0.0, - lp__, N); - double theta = std::numeric_limits::quiet_NaN(); + auto sigma_price = + in__.template read_constrain_lb, + jacobian__>(0.0, lp__, N); current_statement__ = 11; - theta = in__.template read(); - Eigen::Matrix upper_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto theta = in__.template read(); current_statement__ = 12; - upper_test = in__.template read_constrain_ub< - Eigen::Matrix, jacobian__>(ma, - lp__, N); - Eigen::Matrix lower_upper_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto upper_test = + in__.template read_constrain_ub, + jacobian__>(ma, lp__, N); current_statement__ = 13; - lower_upper_test = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(sigma_price, upper_test, lp__, N); + auto lower_upper_test = + in__.template read_constrain_lub< + Eigen::Matrix, jacobian__>(sigma_price, + upper_test, lp__, N); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "lower", sigma_price); current_statement__ = 13; stan::math::check_matching_dims("constraint", "lower_upper_test", lower_upper_test, "upper", upper_test); - Eigen::Matrix row_vec_lower_upper_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); current_statement__ = 14; - row_vec_lower_upper_test = in__.template read_constrain_lub< - Eigen::Matrix, - jacobian__>(stan::math::transpose( - sigma_price), - stan::math::transpose(upper_test), lp__, - N); + auto row_vec_lower_upper_test = + in__.template read_constrain_lub< + Eigen::Matrix, + jacobian__>(stan::math::transpose(sigma_price), + stan::math::transpose(upper_test), lp__, N); current_statement__ = 14; stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "lower", @@ -2393,68 +2250,45 @@ class constraints_model final : public model_base_crtp { stan::math::check_matching_dims("constraint", "row_vec_lower_upper_test", row_vec_lower_upper_test, "upper", stan::math::transpose(upper_test)); - Eigen::Matrix offset_mult_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); current_statement__ = 15; - offset_mult_test = in__.template read_constrain_offset_multiplier< - Eigen::Matrix, - jacobian__>(mean_price, sigma_price, lp__, N); + auto offset_mult_test = + in__.template read_constrain_offset_multiplier< + Eigen::Matrix, jacobian__>(mean_price, + sigma_price, lp__, N); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "offset", mean_price); current_statement__ = 15; stan::math::check_matching_dims("constraint", "offset_mult_test", offset_mult_test, "multiplier", sigma_price); - Eigen::Matrix ordered_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); current_statement__ = 16; - ordered_test = in__.template read_constrain_ordered< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix unit_vec_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto ordered_test = + in__.template read_constrain_ordered< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 17; - unit_vec_test = in__.template read_constrain_unit_vector< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix pos_ordered_test = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto unit_vec_test = + in__.template read_constrain_unit_vector< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 18; - pos_ordered_test = in__.template read_constrain_positive_ordered< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix corr_matrix_test = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto pos_ordered_test = + in__.template read_constrain_positive_ordered< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 19; - corr_matrix_test = in__.template read_constrain_corr_matrix< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix cov_matrix_test = - Eigen::Matrix::Constant(N, N, - std::numeric_limits::quiet_NaN()); + auto corr_matrix_test = + in__.template read_constrain_corr_matrix< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 20; - cov_matrix_test = in__.template read_constrain_cov_matrix< - Eigen::Matrix, - jacobian__>(lp__, N); - Eigen::Matrix chol_fac_cov_test = - Eigen::Matrix::Constant(K, K, - std::numeric_limits::quiet_NaN()); + auto cov_matrix_test = + in__.template read_constrain_cov_matrix< + Eigen::Matrix, jacobian__>(lp__, N); current_statement__ = 21; - chol_fac_cov_test = in__.template read_constrain_cholesky_factor_cov< - Eigen::Matrix, - jacobian__>(lp__, K, K); - Eigen::Matrix chol_fac_corr_test = - Eigen::Matrix::Constant(K, K, - std::numeric_limits::quiet_NaN()); + auto chol_fac_cov_test = + in__.template read_constrain_cholesky_factor_cov< + Eigen::Matrix, jacobian__>(lp__, K, K); current_statement__ = 22; - chol_fac_corr_test = in__.template read_constrain_cholesky_factor_corr< - Eigen::Matrix, - jacobian__>(lp__, K); + auto chol_fac_corr_test = + in__.template read_constrain_cholesky_factor_corr< + Eigen::Matrix, jacobian__>(lp__, K); double phi = std::numeric_limits::quiet_NaN(); double sigma = std::numeric_limits::quiet_NaN(); Eigen::Matrix prices = @@ -3625,10 +3459,9 @@ class deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -3706,10 +3539,9 @@ class deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 2; @@ -3798,11 +3630,9 @@ class deep_dependence_model final : public model_base_crtp X_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - X_p = in__.template read>(10, 10); + auto X_p = + in__.template read>(10, 10); Eigen::Matrix X_tp1 = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -4604,122 +4434,69 @@ class indexing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); - Eigen::Matrix p_soa_vec_v = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto alpha = in__.template read(); current_statement__ = 2; - p_soa_vec_v = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_soa_mat = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_soa_vec_v = + in__.template read>(M); current_statement__ = 3; - p_soa_mat = in__.template read< - Eigen::Matrix>(N, M); - std::vector> p_soa_arr_vec_v = - std::vector>(10, - Eigen::Matrix::Constant(N, DUMMY_VAR__)); + auto p_soa_mat = + in__.template read>(N, M); current_statement__ = 4; - p_soa_arr_vec_v = in__.template read< - std::vector>>(10, - N); - Eigen::Matrix p_soa_mat_uni_col_idx = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_soa_arr_vec_v = + in__.template read< + std::vector>>(10, N); current_statement__ = 5; - p_soa_mat_uni_col_idx = in__.template read< - Eigen::Matrix>(N, M); - Eigen::Matrix p_soa_vec_uni_idx = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_soa_mat_uni_col_idx = + in__.template read>(N, M); current_statement__ = 6; - p_soa_vec_uni_idx = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_loop_mat_uni_col_idx = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_soa_vec_uni_idx = + in__.template read>(N); current_statement__ = 7; - p_soa_loop_mat_uni_col_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_soa_lhs_loop_mul = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_soa_loop_mat_uni_col_idx = + in__.template read>(N, M); current_statement__ = 8; - p_soa_lhs_loop_mul = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_rhs_loop_mul = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_soa_lhs_loop_mul = + in__.template read>(N); current_statement__ = 9; - p_soa_rhs_loop_mul = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix - p_soa_used_with_aos_in_excluded_fun = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto p_soa_rhs_loop_mul = + in__.template read>(N); current_statement__ = 10; - p_soa_used_with_aos_in_excluded_fun = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix - p_soa_loop_mat_multi_uni_uni_idx = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_soa_used_with_aos_in_excluded_fun = + in__.template read>(N); current_statement__ = 11; - p_soa_loop_mat_multi_uni_uni_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_vec_v_assign_to_aos = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_soa_loop_mat_multi_uni_uni_idx = + in__.template read>(N, M); current_statement__ = 12; - p_aos_vec_v_assign_to_aos = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_vec_v_tp_fails_func = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_vec_v_assign_to_aos = + in__.template read>(M); current_statement__ = 13; - p_aos_vec_v_tp_fails_func = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_vec_v_uni_idx = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_vec_v_tp_fails_func = + in__.template read>(M); current_statement__ = 14; - p_aos_loop_vec_v_uni_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_fail_assign_from_top_idx = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_loop_vec_v_uni_idx = + in__.template read>(M); current_statement__ = 15; - p_aos_fail_assign_from_top_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_mat_uni_uni_idx = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_fail_assign_from_top_idx = + in__.template read>(M); current_statement__ = 16; - p_aos_loop_mat_uni_uni_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_loop_mat_uni_uni_idx = + in__.template read>(N, M); current_statement__ = 17; - p_aos_mat = in__.template read< - Eigen::Matrix>(N, M); - Eigen::Matrix - p_aos_mat_pass_func_outer_single_indexed1 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat = + in__.template read>(N, M); current_statement__ = 18; - p_aos_mat_pass_func_outer_single_indexed1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix - p_aos_mat_pass_func_outer_single_indexed2 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_pass_func_outer_single_indexed1 = + in__.template read>(N, M); current_statement__ = 19; - p_aos_mat_pass_func_outer_single_indexed2 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx1 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_pass_func_outer_single_indexed2 = + in__.template read>(N, M); current_statement__ = 20; - p_aos_mat_fail_uni_uni_idx1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx2 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_fail_uni_uni_idx1 = + in__.template read>(N, M); current_statement__ = 21; - p_aos_mat_fail_uni_uni_idx2 = in__.template read< - Eigen::Matrix>(N, - M); + auto p_aos_mat_fail_uni_uni_idx2 = + in__.template read>(N, M); local_scalar_t__ tp_real_from_aos = DUMMY_VAR__; current_statement__ = 22; tp_real_from_aos = stan::model::rvalue(p_soa_vec_v, "p_soa_vec_v", @@ -5020,151 +4797,79 @@ class indexing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); - stan::math::var_value> p_soa_vec_v = - stan::math::var_value>(Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN( - ))); + auto alpha = in__.template read(); current_statement__ = 2; - p_soa_vec_v = in__.template read< - stan::math::var_value>>(M); - stan::math::var_value> p_soa_mat = - stan::math::var_value>(Eigen::Matrix::Constant(N, - M, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_vec_v = + in__.template read< + stan::math::var_value>>(M); current_statement__ = 3; - p_soa_mat = in__.template read< - stan::math::var_value>>(N, M); - std::vector>> - p_soa_arr_vec_v = - std::vector>>(10, - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - )))); + auto p_soa_mat = + in__.template read< + stan::math::var_value>>(N, M); current_statement__ = 4; - p_soa_arr_vec_v = in__.template read< - std::vector< - stan::math::var_value>>>(10, - N); - stan::math::var_value> - p_soa_mat_uni_col_idx = - stan::math::var_value>(Eigen::Matrix::Constant(N, - M, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_arr_vec_v = + in__.template read< + std::vector>>>(10, + N); current_statement__ = 5; - p_soa_mat_uni_col_idx = in__.template read< - stan::math::var_value>>(N, - M); - stan::math::var_value> p_soa_vec_uni_idx = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_mat_uni_col_idx = + in__.template read< + stan::math::var_value>>(N, M); current_statement__ = 6; - p_soa_vec_uni_idx = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> - p_soa_loop_mat_uni_col_idx = - stan::math::var_value>(Eigen::Matrix::Constant(N, - M, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_vec_uni_idx = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 7; - p_soa_loop_mat_uni_col_idx = in__.template read< - stan::math::var_value>>(N, - M); - stan::math::var_value> p_soa_lhs_loop_mul = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_loop_mat_uni_col_idx = + in__.template read< + stan::math::var_value>>(N, M); current_statement__ = 8; - p_soa_lhs_loop_mul = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> p_soa_rhs_loop_mul = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_lhs_loop_mul = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 9; - p_soa_rhs_loop_mul = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> - p_soa_used_with_aos_in_excluded_fun = - stan::math::var_value>(Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_rhs_loop_mul = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 10; - p_soa_used_with_aos_in_excluded_fun = in__.template read< - stan::math::var_value>>(N); - stan::math::var_value> - p_soa_loop_mat_multi_uni_uni_idx = - stan::math::var_value>(Eigen::Matrix::Constant(N, - M, - std::numeric_limits::quiet_NaN( - ))); + auto p_soa_used_with_aos_in_excluded_fun = + in__.template read< + stan::math::var_value>>(N); current_statement__ = 11; - p_soa_loop_mat_multi_uni_uni_idx = in__.template read< - stan::math::var_value>>(N, - M); - Eigen::Matrix p_aos_vec_v_assign_to_aos = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_soa_loop_mat_multi_uni_uni_idx = + in__.template read< + stan::math::var_value>>(N, M); current_statement__ = 12; - p_aos_vec_v_assign_to_aos = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_vec_v_tp_fails_func = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_vec_v_assign_to_aos = + in__.template read>(M); current_statement__ = 13; - p_aos_vec_v_tp_fails_func = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_vec_v_uni_idx = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_vec_v_tp_fails_func = + in__.template read>(M); current_statement__ = 14; - p_aos_loop_vec_v_uni_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_fail_assign_from_top_idx = - Eigen::Matrix::Constant(M, DUMMY_VAR__); + auto p_aos_loop_vec_v_uni_idx = + in__.template read>(M); current_statement__ = 15; - p_aos_fail_assign_from_top_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_mat_uni_uni_idx = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_fail_assign_from_top_idx = + in__.template read>(M); current_statement__ = 16; - p_aos_loop_mat_uni_uni_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_loop_mat_uni_uni_idx = + in__.template read>(N, M); current_statement__ = 17; - p_aos_mat = in__.template read< - Eigen::Matrix>(N, M); - Eigen::Matrix - p_aos_mat_pass_func_outer_single_indexed1 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat = + in__.template read>(N, M); current_statement__ = 18; - p_aos_mat_pass_func_outer_single_indexed1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix - p_aos_mat_pass_func_outer_single_indexed2 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_pass_func_outer_single_indexed1 = + in__.template read>(N, M); current_statement__ = 19; - p_aos_mat_pass_func_outer_single_indexed2 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx1 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_pass_func_outer_single_indexed2 = + in__.template read>(N, M); current_statement__ = 20; - p_aos_mat_fail_uni_uni_idx1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx2 = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); + auto p_aos_mat_fail_uni_uni_idx1 = + in__.template read>(N, M); current_statement__ = 21; - p_aos_mat_fail_uni_uni_idx2 = in__.template read< - Eigen::Matrix>(N, - M); + auto p_aos_mat_fail_uni_uni_idx2 = + in__.template read>(N, M); local_scalar_t__ tp_real_from_aos = DUMMY_VAR__; current_statement__ = 22; tp_real_from_aos = stan::model::rvalue(p_soa_vec_v, "p_soa_vec_v", @@ -5489,138 +5194,69 @@ class indexing_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - alpha = in__.template read(); - Eigen::Matrix p_soa_vec_v = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto alpha = in__.template read(); current_statement__ = 2; - p_soa_vec_v = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_soa_mat = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_soa_vec_v = + in__.template read>(M); current_statement__ = 3; - p_soa_mat = in__.template read< - Eigen::Matrix>(N, M); - std::vector> p_soa_arr_vec_v = - std::vector>(10, - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN())); + auto p_soa_mat = + in__.template read>(N, M); current_statement__ = 4; - p_soa_arr_vec_v = in__.template read< - std::vector>>(10, - N); - Eigen::Matrix p_soa_mat_uni_col_idx = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_soa_arr_vec_v = + in__.template read< + std::vector>>(10, N); current_statement__ = 5; - p_soa_mat_uni_col_idx = in__.template read< - Eigen::Matrix>(N, M); - Eigen::Matrix p_soa_vec_uni_idx = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_soa_mat_uni_col_idx = + in__.template read>(N, M); current_statement__ = 6; - p_soa_vec_uni_idx = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_loop_mat_uni_col_idx = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_soa_vec_uni_idx = + in__.template read>(N); current_statement__ = 7; - p_soa_loop_mat_uni_col_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_soa_lhs_loop_mul = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_soa_loop_mat_uni_col_idx = + in__.template read>(N, M); current_statement__ = 8; - p_soa_lhs_loop_mul = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_rhs_loop_mul = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_soa_lhs_loop_mul = + in__.template read>(N); current_statement__ = 9; - p_soa_rhs_loop_mul = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_used_with_aos_in_excluded_fun = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto p_soa_rhs_loop_mul = + in__.template read>(N); current_statement__ = 10; - p_soa_used_with_aos_in_excluded_fun = in__.template read< - Eigen::Matrix>(N); - Eigen::Matrix p_soa_loop_mat_multi_uni_uni_idx = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_soa_used_with_aos_in_excluded_fun = + in__.template read>(N); current_statement__ = 11; - p_soa_loop_mat_multi_uni_uni_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_vec_v_assign_to_aos = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto p_soa_loop_mat_multi_uni_uni_idx = + in__.template read>(N, M); current_statement__ = 12; - p_aos_vec_v_assign_to_aos = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_vec_v_tp_fails_func = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto p_aos_vec_v_assign_to_aos = + in__.template read>(M); current_statement__ = 13; - p_aos_vec_v_tp_fails_func = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_vec_v_uni_idx = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto p_aos_vec_v_tp_fails_func = + in__.template read>(M); current_statement__ = 14; - p_aos_loop_vec_v_uni_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_fail_assign_from_top_idx = - Eigen::Matrix::Constant(M, - std::numeric_limits::quiet_NaN()); + auto p_aos_loop_vec_v_uni_idx = + in__.template read>(M); current_statement__ = 15; - p_aos_fail_assign_from_top_idx = in__.template read< - Eigen::Matrix>(M); - Eigen::Matrix p_aos_loop_mat_uni_uni_idx = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_fail_assign_from_top_idx = + in__.template read>(M); current_statement__ = 16; - p_aos_loop_mat_uni_uni_idx = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_loop_mat_uni_uni_idx = + in__.template read>(N, M); current_statement__ = 17; - p_aos_mat = in__.template read< - Eigen::Matrix>(N, M); - Eigen::Matrix p_aos_mat_pass_func_outer_single_indexed1 = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_mat = + in__.template read>(N, M); current_statement__ = 18; - p_aos_mat_pass_func_outer_single_indexed1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_pass_func_outer_single_indexed2 = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_mat_pass_func_outer_single_indexed1 = + in__.template read>(N, M); current_statement__ = 19; - p_aos_mat_pass_func_outer_single_indexed2 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx1 = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_mat_pass_func_outer_single_indexed2 = + in__.template read>(N, M); current_statement__ = 20; - p_aos_mat_fail_uni_uni_idx1 = in__.template read< - Eigen::Matrix>(N, - M); - Eigen::Matrix p_aos_mat_fail_uni_uni_idx2 = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); + auto p_aos_mat_fail_uni_uni_idx1 = + in__.template read>(N, M); current_statement__ = 21; - p_aos_mat_fail_uni_uni_idx2 = in__.template read< - Eigen::Matrix>(N, - M); + auto p_aos_mat_fail_uni_uni_idx2 = + in__.template read>(N, M); double tp_real_from_aos = std::numeric_limits::quiet_NaN(); Eigen::Matrix tp_aos_vec_v = Eigen::Matrix::Constant(M, @@ -6892,14 +6528,11 @@ class indexing2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); - Eigen::Matrix p_aos_loop_single_idx = - Eigen::Matrix::Constant(10, DUMMY_VAR__); + auto alpha = in__.template read(); current_statement__ = 2; - p_aos_loop_single_idx = in__.template read< - Eigen::Matrix>(10); + auto p_aos_loop_single_idx = + in__.template read>(10); { current_statement__ = 3; stan::math::validate_non_negative_index( @@ -6968,14 +6601,11 @@ class indexing2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - local_scalar_t__ alpha = DUMMY_VAR__; current_statement__ = 1; - alpha = in__.template read(); - Eigen::Matrix p_aos_loop_single_idx = - Eigen::Matrix::Constant(10, DUMMY_VAR__); + auto alpha = in__.template read(); current_statement__ = 2; - p_aos_loop_single_idx = in__.template read< - Eigen::Matrix>(10); + auto p_aos_loop_single_idx = + in__.template read>(10); { current_statement__ = 3; stan::math::validate_non_negative_index( @@ -7060,15 +6690,11 @@ class indexing2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - double alpha = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - alpha = in__.template read(); - Eigen::Matrix p_aos_loop_single_idx = - Eigen::Matrix::Constant(10, - std::numeric_limits::quiet_NaN()); + auto alpha = in__.template read(); current_statement__ = 2; - p_aos_loop_single_idx = in__.template read< - Eigen::Matrix>(10); + auto p_aos_loop_single_idx = + in__.template read>(10); out__.write(alpha); out__.write(p_aos_loop_single_idx); if (stan::math::logical_negation( @@ -7453,21 +7079,15 @@ class reductions_allowed_model final : public model_base_crtp soa_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); current_statement__ = 1; - soa_x = in__.template read>(5, - 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto soa_x = + in__.template read>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); - Eigen::Matrix aos_y = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto aos_x = + in__.template read>(5, 10); current_statement__ = 3; - aos_y = in__.template read>(5, - 10); + auto aos_y = + in__.template read>(5, 10); local_scalar_t__ tp_real_from_soa = DUMMY_VAR__; current_statement__ = 4; tp_real_from_soa = (stan::math::logical_gt(5, 0) ? data_r : stan::math::sum( @@ -7519,24 +7139,16 @@ class reductions_allowed_model final : public model_base_crtp> soa_x = - stan::math::var_value>(Eigen::Matrix::Constant(5, - 10, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 1; - soa_x = in__.template read< - stan::math::var_value>>(5, 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto soa_x = + in__.template read< + stan::math::var_value>>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); - Eigen::Matrix aos_y = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto aos_x = + in__.template read>(5, 10); current_statement__ = 3; - aos_y = in__.template read>(5, - 10); + auto aos_y = + in__.template read>(5, 10); local_scalar_t__ tp_real_from_soa = DUMMY_VAR__; current_statement__ = 4; tp_real_from_soa = (stan::math::logical_gt(5, 0) ? data_r : stan::math::sum( @@ -7599,24 +7211,15 @@ class reductions_allowed_model final : public model_base_crtp soa_x = - Eigen::Matrix::Constant(5, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - soa_x = in__.template read>(5, - 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, - std::numeric_limits::quiet_NaN()); + auto soa_x = + in__.template read>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); - Eigen::Matrix aos_y = - Eigen::Matrix::Constant(5, 10, - std::numeric_limits::quiet_NaN()); + auto aos_x = + in__.template read>(5, 10); current_statement__ = 3; - aos_y = in__.template read>(5, - 10); + auto aos_y = + in__.template read>(5, 10); double tp_real_from_soa = std::numeric_limits::quiet_NaN(); Eigen::Matrix tp_matrix_aos_from_mix = Eigen::Matrix::Constant(5, 10, @@ -8129,16 +7732,12 @@ class return_types_and_udfs_demotes_model final : public model_base_crtp row_soa = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - row_soa = in__.template read>(10, - 10); - Eigen::Matrix udf_input_aos = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); + auto row_soa = + in__.template read>(10, 10); current_statement__ = 2; - udf_input_aos = in__.template read< - Eigen::Matrix>(10, 10); + auto udf_input_aos = + in__.template read>(10, 10); Eigen::Matrix user_func_aos = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 3; @@ -8200,19 +7799,13 @@ class return_types_and_udfs_demotes_model final : public model_base_crtp> row_soa = - stan::math::var_value>(Eigen::Matrix::Constant(10, - 10, - std::numeric_limits::quiet_NaN( - ))); current_statement__ = 1; - row_soa = in__.template read< - stan::math::var_value>>(10, 10); - Eigen::Matrix udf_input_aos = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); + auto row_soa = + in__.template read< + stan::math::var_value>>(10, 10); current_statement__ = 2; - udf_input_aos = in__.template read< - Eigen::Matrix>(10, 10); + auto udf_input_aos = + in__.template read>(10, 10); Eigen::Matrix user_func_aos = Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 3; @@ -8285,18 +7878,12 @@ class return_types_and_udfs_demotes_model final : public model_base_crtp row_soa = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - row_soa = in__.template read>(10, - 10); - Eigen::Matrix udf_input_aos = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); + auto row_soa = + in__.template read>(10, 10); current_statement__ = 2; - udf_input_aos = in__.template read< - Eigen::Matrix>(10, 10); + auto udf_input_aos = + in__.template read>(10, 10); Eigen::Matrix user_func_aos = Eigen::Matrix::Constant(10, 10, std::numeric_limits::quiet_NaN()); @@ -8767,16 +8354,12 @@ class single_indexing_model final : public model_base_crtp aos_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - aos_p = in__.template read>(10, - 10); - Eigen::Matrix soa_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); + auto aos_p = + in__.template read>(10, 10); current_statement__ = 2; - soa_p = in__.template read>(10, - 10); + auto soa_p = + in__.template read>(10, 10); local_scalar_t__ tp_real_from_soa = DUMMY_VAR__; current_statement__ = 3; tp_real_from_soa = stan::model::rvalue(soa_p, "soa_p", @@ -8831,19 +8414,13 @@ class single_indexing_model final : public model_base_crtp aos_p = - Eigen::Matrix::Constant(10, 10, DUMMY_VAR__); current_statement__ = 1; - aos_p = in__.template read>(10, - 10); - stan::math::var_value> soa_p = - stan::math::var_value>(Eigen::Matrix::Constant(10, - 10, - std::numeric_limits::quiet_NaN( - ))); + auto aos_p = + in__.template read>(10, 10); current_statement__ = 2; - soa_p = in__.template read< - stan::math::var_value>>(10, 10); + auto soa_p = + in__.template read< + stan::math::var_value>>(10, 10); local_scalar_t__ tp_real_from_soa = DUMMY_VAR__; current_statement__ = 3; tp_real_from_soa = stan::model::rvalue(soa_p, "soa_p", @@ -8915,18 +8492,12 @@ class single_indexing_model final : public model_base_crtp aos_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - aos_p = in__.template read>(10, - 10); - Eigen::Matrix soa_p = - Eigen::Matrix::Constant(10, 10, - std::numeric_limits::quiet_NaN()); + auto aos_p = + in__.template read>(10, 10); current_statement__ = 2; - soa_p = in__.template read>(10, - 10); + auto soa_p = + in__.template read>(10, 10); double tp_real_from_soa = std::numeric_limits::quiet_NaN(); out__.write(aos_p); out__.write(soa_p); @@ -9383,16 +8954,12 @@ class tp_reused_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix first_pass_soa_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); current_statement__ = 1; - first_pass_soa_x = in__.template read< - Eigen::Matrix>(5, 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto first_pass_soa_x = + in__.template read>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); + auto aos_x = + in__.template read>(5, 10); Eigen::Matrix tp_matrix_aos = Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); current_statement__ = 3; @@ -9431,16 +8998,12 @@ class tp_reused_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix first_pass_soa_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); current_statement__ = 1; - first_pass_soa_x = in__.template read< - Eigen::Matrix>(5, 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); + auto first_pass_soa_x = + in__.template read>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); + auto aos_x = + in__.template read>(5, 10); Eigen::Matrix tp_matrix_aos = Eigen::Matrix::Constant(5, 10, DUMMY_VAR__); current_statement__ = 3; @@ -9490,18 +9053,12 @@ class tp_reused_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix first_pass_soa_x = - Eigen::Matrix::Constant(5, 10, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - first_pass_soa_x = in__.template read< - Eigen::Matrix>(5, 10); - Eigen::Matrix aos_x = - Eigen::Matrix::Constant(5, 10, - std::numeric_limits::quiet_NaN()); + auto first_pass_soa_x = + in__.template read>(5, 10); current_statement__ = 2; - aos_x = in__.template read>(5, - 10); + auto aos_x = + in__.template read>(5, 10); Eigen::Matrix tp_matrix_aos = Eigen::Matrix::Constant(5, 10, std::numeric_limits::quiet_NaN()); @@ -10525,14 +10082,12 @@ class tuple_test2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); { std::tuple, Eigen::Matrix> temp = @@ -10587,14 +10142,12 @@ class tuple_test2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); { std::tuple, Eigen::Matrix> temp = @@ -10660,16 +10213,12 @@ class tuple_test2_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN()); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); out__.write(m1); out__.write(m2); if (stan::math::logical_negation( diff --git a/test/integration/good/compiler-optimizations/mem_patterns/transformed_mir.expected b/test/integration/good/compiler-optimizations/mem_patterns/transformed_mir.expected index 32f3aaf2e..8bd7e7d2f 100644 --- a/test/integration/good/compiler-optimizations/mem_patterns/transformed_mir.expected +++ b/test/integration/good/compiler-optimizations/mem_patterns/transformed_mir.expected @@ -38,14 +38,15 @@ matrix[2, 2] aos_mat_from_vecs: AoS (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -82,13 +83,13 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id X_data_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable X_data_flat__) ()) (UArray UReal) @@ -171,13 +172,13 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_data_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable y_data_flat__) ()) (UArray UReal) @@ -239,29 +240,25 @@ matrix[2, 2] aos_mat_from_vecs: AoS (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id beta) @@ -269,19 +266,18 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable beta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -299,7 +295,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_simple) ()) UVector @@ -335,7 +331,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_deep) ()) UVector @@ -382,7 +378,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_dual_rep) ()) UVector @@ -421,7 +417,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_data_rep) ()) UVector @@ -461,7 +457,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mix) ()) UVector @@ -495,7 +491,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_from_data) ()) UVector @@ -557,7 +553,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mat_rep) ()) UMatrix @@ -617,7 +613,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mat_rep_vec) ()) UMatrix @@ -672,7 +668,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_mat_rep) ()) UMatrix @@ -706,7 +702,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_mat_from_vecs) ()) UMatrix @@ -818,29 +814,25 @@ matrix[2, 2] aos_mat_from_vecs: AoS (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id beta) @@ -848,19 +840,18 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable beta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -878,7 +869,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_simple) ()) UVector @@ -914,7 +905,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_deep) ()) UVector @@ -961,7 +952,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_dual_rep) ()) UVector @@ -1000,7 +991,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_data_rep) ()) UVector @@ -1040,7 +1031,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mix) ()) UVector @@ -1074,7 +1065,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_from_data) ()) UVector @@ -1136,7 +1127,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mat_rep) ()) UMatrix @@ -1196,7 +1187,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_mat_rep_vec) ()) UMatrix @@ -1251,7 +1242,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_mat_rep) ()) UMatrix @@ -1285,7 +1276,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_mat_from_vecs) ()) UMatrix @@ -1397,29 +1388,25 @@ matrix[2, 2] aos_mat_from_vecs: AoS (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id beta) @@ -1427,19 +1414,18 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable beta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -1492,7 +1478,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -1500,7 +1486,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -1526,7 +1512,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal @@ -1556,13 +1542,13 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id beta_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable beta_flat__) ()) (UArray UReal) @@ -1627,7 +1613,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -1644,7 +1630,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal @@ -1665,7 +1651,7 @@ matrix[2, 2] aos_mat_from_vecs: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable beta) ()) UVector @@ -1725,22 +1711,20 @@ matrix[10, 10] A_p: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id A_complex_tp) @@ -1749,7 +1733,7 @@ matrix[10, 10] A_p: AoS (SComplexMatrix ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable A_complex_tp) ()) UComplexMatrix @@ -1768,22 +1752,20 @@ matrix[10, 10] A_p: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id A_complex_tp) @@ -1792,7 +1774,7 @@ matrix[10, 10] A_p: AoS (SComplexMatrix ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable A_complex_tp) ()) UComplexMatrix @@ -1811,22 +1793,20 @@ matrix[10, 10] A_p: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id A_complex_tp) @@ -1835,7 +1815,7 @@ matrix[10, 10] A_p: AoS (SComplexMatrix ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -1898,7 +1878,7 @@ matrix[10, 10] A_p: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -1911,13 +1891,13 @@ matrix[10, 10] A_p: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id A_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable A_p_flat__) ()) (UArray UReal) @@ -2004,7 +1984,7 @@ matrix[10, 10] A_p: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable A_p) ()) UMatrix @@ -2154,14 +2134,15 @@ vector[Nr] h_sigma: SoA (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -2189,7 +2170,8 @@ vector[Nr] h_sigma: SoA (((pattern (Lit Int 0)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable K) ()) UInt @@ -2229,13 +2211,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id diff_low_mid_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable diff_low_mid_flat__) ()) (UArray UReal) @@ -2301,13 +2283,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id diff_high_mid_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable diff_high_mid_flat__) ()) (UArray UReal) @@ -2373,13 +2355,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id mid_price_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable mid_price_flat__) ()) (UArray UReal) @@ -2453,13 +2435,13 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id X_all_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable X_all_flat__) ()) (UArray UReal) @@ -2531,7 +2513,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id phi_prior_a) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi_prior_a) ()) UReal @@ -2562,7 +2544,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id phi_prior_b) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi_prior_b) ()) UReal @@ -2593,7 +2575,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id mu_prior_mu) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mu_prior_mu) ()) UReal @@ -2611,7 +2593,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id mu_prior_sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mu_prior_sigma) ()) UReal @@ -2642,7 +2624,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma_prior_shape) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma_prior_shape) ()) UReal @@ -2673,7 +2655,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma_prior_rate) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma_prior_rate) ()) UReal @@ -2704,7 +2686,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id Nr) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable Nr) ()) UInt @@ -2915,25 +2897,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable high_low_est) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var diff_low_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) - ((pattern (Var diff_high_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var diff_low_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var diff_high_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -2967,19 +2948,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable b) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id h) @@ -2987,19 +2967,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable h) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var Nr)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ar) @@ -3007,84 +2986,74 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ar) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi_beta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable phi_beta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma2) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma2) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id Intercept) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable Intercept) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id mean_price) @@ -3092,19 +3061,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable mean_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma_price) @@ -3112,36 +3080,33 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Real 0.0)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Real 0.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id upper_test) @@ -3149,23 +3114,22 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var ma)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var ma)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id lower_upper_test) @@ -3173,25 +3137,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable lower_upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -3225,31 +3188,30 @@ vector[Nr] h_sigma: SoA (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_vec_lower_upper_test) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (FunApp (StanLib Transpose__ FnPlain AoS) - (((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) - ((pattern - (FunApp (StanLib Transpose__ FnPlain AoS) - (((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (FunApp (StanLib Transpose__ FnPlain AoS) + (((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp (StanLib Transpose__ FnPlain AoS) + (((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -3289,25 +3251,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_mult_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Var mean_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Var mean_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -3341,19 +3302,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Ordered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Ordered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id unit_vec_test) @@ -3361,19 +3321,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable unit_vec_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain UnitVector) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain UnitVector) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id pos_ordered_test) @@ -3381,19 +3340,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable pos_ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain PositiveOrdered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain PositiveOrdered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id corr_matrix_test) @@ -3402,19 +3360,18 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable corr_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Correlation) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Correlation) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id cov_matrix_test) @@ -3423,19 +3380,18 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable cov_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Covariance) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Covariance) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_cov_test) @@ -3444,20 +3400,20 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_cov_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_corr_test) @@ -3466,23 +3422,22 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_corr_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCorr) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCorr) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi) ()) UReal @@ -3501,7 +3456,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal @@ -3517,7 +3472,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable prices) ()) UVector @@ -3535,7 +3490,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable prices_diff) ()) UVector @@ -3574,7 +3529,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mu) ()) UVector @@ -3597,7 +3552,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable err) ()) UVector @@ -3742,7 +3697,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id h_i_sigma) @@ -3750,7 +3705,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -3870,7 +3825,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable h_sigma) ()) UVector @@ -4137,25 +4092,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable high_low_est) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var diff_low_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) - ((pattern (Var diff_high_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var diff_low_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var diff_high_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -4189,19 +4143,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable b) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id h) @@ -4209,19 +4162,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable h) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var Nr)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ar) @@ -4229,84 +4181,74 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ar) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi_beta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable phi_beta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma2) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma2) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id Intercept) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable Intercept) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id mean_price) @@ -4314,19 +4256,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable mean_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma_price) @@ -4334,36 +4275,33 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Real 0.0)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Real 0.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id upper_test) @@ -4371,23 +4309,22 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var ma)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var ma)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id lower_upper_test) @@ -4395,25 +4332,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable lower_upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -4447,31 +4383,30 @@ vector[Nr] h_sigma: SoA (Sized (SRowVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_vec_lower_upper_test) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (FunApp (StanLib Transpose__ FnPlain SoA) - (((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) - ((pattern - (FunApp (StanLib Transpose__ FnPlain SoA) - (((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (FunApp (StanLib Transpose__ FnPlain SoA) + (((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp (StanLib Transpose__ FnPlain SoA) + (((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -4511,25 +4446,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_mult_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Var mean_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Var mean_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -4563,19 +4497,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Ordered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Ordered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id unit_vec_test) @@ -4583,19 +4516,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable unit_vec_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain UnitVector) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain UnitVector) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id pos_ordered_test) @@ -4603,19 +4535,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable pos_ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain PositiveOrdered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain PositiveOrdered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id corr_matrix_test) @@ -4624,19 +4555,18 @@ vector[Nr] h_sigma: SoA (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable corr_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Correlation) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Correlation) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id cov_matrix_test) @@ -4645,19 +4575,18 @@ vector[Nr] h_sigma: SoA (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable cov_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Covariance) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Covariance) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_cov_test) @@ -4666,20 +4595,20 @@ vector[Nr] h_sigma: SoA (SMatrix SoA ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_cov_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_corr_test) @@ -4688,23 +4617,22 @@ vector[Nr] h_sigma: SoA (SMatrix SoA ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_corr_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCorr) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCorr) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi) ()) UReal @@ -4723,7 +4651,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma) ()) UReal @@ -4739,7 +4667,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable prices) ()) UVector @@ -4757,7 +4685,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable prices_diff) ()) UVector @@ -4796,7 +4724,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mu) ()) UVector @@ -4819,7 +4747,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable err) ()) UVector @@ -4964,7 +4892,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id h_i_sigma) @@ -4972,7 +4900,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -5092,7 +5020,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector SoA ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable h_sigma) ()) UVector @@ -5359,25 +5287,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable high_low_est) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var diff_low_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) - ((pattern (Var diff_high_mid)) - (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var diff_low_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var diff_high_mid)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -5411,19 +5338,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable b) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id h) @@ -5431,19 +5357,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable h) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var Nr)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ar) @@ -5451,84 +5376,74 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ar) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 2)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ma) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ma) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id phi_beta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable phi_beta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 1)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma2) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma2) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Int 0)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id Intercept) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable Intercept) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id mean_price) @@ -5536,19 +5451,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable mean_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma_price) @@ -5556,86 +5470,81 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable sigma_price) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Lower - ((pattern (Lit Real 0.0)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (meta )) - ((pattern - (Decl (decl_adtype DataOnly) (decl_id theta) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (meta )) - ((pattern - (Decl (decl_adtype DataOnly) (decl_id upper_test) - (decl_type - (Sized - (SVector AoS - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (Upper - ((pattern (Var ma)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Lower + ((pattern (Lit Real 0.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id lower_upper_test) + (Decl (decl_adtype DataOnly) (decl_id theta) (decl_type (Sized SReal)) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id upper_test) (decl_type (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (Upper + ((pattern (Var ma)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern - (Assignment ((LVariable lower_upper_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (Decl (decl_adtype DataOnly) (decl_id lower_upper_test) + (decl_type + (Sized + (SVector AoS + ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -5669,31 +5578,30 @@ vector[Nr] h_sigma: SoA (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_vec_lower_upper_test) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (FunApp (StanLib Transpose__ FnPlain AoS) - (((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) - ((pattern - (FunApp (StanLib Transpose__ FnPlain AoS) - (((pattern (Var upper_test)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (FunApp (StanLib Transpose__ FnPlain AoS) + (((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp (StanLib Transpose__ FnPlain AoS) + (((pattern (Var upper_test)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -5733,25 +5641,24 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable offset_mult_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (OffsetMultiplier - ((pattern (Var mean_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) - ((pattern (Var sigma_price)) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (OffsetMultiplier + ((pattern (Var mean_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var sigma_price)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp (StanLib check_matching_dims FnPlain AoS) @@ -5785,19 +5692,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Ordered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Ordered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id unit_vec_test) @@ -5805,19 +5711,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable unit_vec_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain UnitVector) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain UnitVector) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id pos_ordered_test) @@ -5825,19 +5730,18 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable pos_ordered_test) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain PositiveOrdered) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain PositiveOrdered) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id corr_matrix_test) @@ -5846,19 +5750,18 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable corr_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Correlation) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Correlation) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id cov_matrix_test) @@ -5867,19 +5770,18 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable cov_matrix_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Covariance) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Covariance) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id chol_fac_cov_test) @@ -5888,20 +5790,20 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_cov_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCov) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCov) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id chol_fac_corr_test) @@ -5910,27 +5812,26 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable chol_fac_corr_test) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain CholeskyCorr) - (dims - (((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain CholeskyCorr) + (dims + (((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id phi) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sigma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id prices) @@ -5938,7 +5839,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id prices_diff) @@ -5946,7 +5847,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id mu) @@ -5954,7 +5855,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id err) @@ -5962,7 +5863,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id h_i_mean) @@ -5970,7 +5871,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id h_i_sigma) @@ -5978,7 +5879,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id h_sigma) @@ -5986,7 +5887,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -6715,7 +6616,7 @@ vector[Nr] h_sigma: SoA (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -6727,13 +6628,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id high_low_est_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable high_low_est_flat__) ()) (UArray UReal) @@ -6807,13 +6708,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id b_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable b_flat__) ()) (UArray UReal) @@ -6880,13 +6781,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id h_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable h_flat__) ()) (UArray UReal) @@ -6953,13 +6854,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id ar_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable ar_flat__) ()) (UArray UReal) @@ -7023,7 +6924,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ma) ()) UReal @@ -7049,7 +6950,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi_beta) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi_beta) ()) UReal @@ -7082,7 +6983,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma2) ()) UReal @@ -7113,7 +7014,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id Intercept) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable Intercept) ()) UReal @@ -7144,13 +7045,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id mean_price_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable mean_price_flat__) ()) (UArray UReal) @@ -7218,13 +7119,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma_price_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sigma_price_flat__) ()) (UArray UReal) @@ -7292,7 +7193,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable theta) ()) UReal @@ -7322,13 +7223,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id upper_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable upper_test_flat__) ()) (UArray UReal) @@ -7400,13 +7301,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id lower_upper_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable lower_upper_test_flat__) ()) (UArray UReal) @@ -7480,13 +7381,13 @@ vector[Nr] h_sigma: SoA (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id row_vec_lower_upper_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable row_vec_lower_upper_test_flat__) ()) @@ -7567,13 +7468,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id offset_mult_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable offset_mult_test_flat__) ()) (UArray UReal) @@ -7647,13 +7548,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id ordered_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable ordered_test_flat__) ()) (UArray UReal) @@ -7721,13 +7622,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id unit_vec_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable unit_vec_test_flat__) ()) (UArray UReal) @@ -7795,13 +7696,13 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id pos_ordered_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable pos_ordered_test_flat__) ()) (UArray UReal) @@ -7870,13 +7771,13 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id corr_matrix_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable corr_matrix_test_flat__) ()) (UArray UReal) @@ -7962,13 +7863,13 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id cov_matrix_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable cov_matrix_test_flat__) ()) (UArray UReal) @@ -8054,13 +7955,13 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_cov_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable chol_fac_cov_test_flat__) ()) (UArray UReal) @@ -8146,13 +8047,13 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id chol_fac_corr_test_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable chol_fac_corr_test_flat__) ()) (UArray UReal) @@ -8238,7 +8139,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable high_low_est) ()) UVector @@ -8268,7 +8169,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable b) ()) UVector @@ -8291,7 +8192,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var Nr)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable h) ()) UVector @@ -8314,7 +8215,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ar) ()) UVector @@ -8333,7 +8234,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ma) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ma) ()) UReal @@ -8350,7 +8251,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id phi_beta) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable phi_beta) ()) UReal @@ -8374,7 +8275,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sigma2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma2) ()) UReal @@ -8396,7 +8297,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id Intercept) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable Intercept) ()) UReal @@ -8418,7 +8319,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mean_price) ()) UVector @@ -8442,7 +8343,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sigma_price) ()) UVector @@ -8466,7 +8367,7 @@ vector[Nr] h_sigma: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable theta) ()) UReal @@ -8487,7 +8388,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable upper_test) ()) UVector @@ -8515,7 +8416,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable lower_upper_test) ()) UVector @@ -8545,7 +8446,7 @@ vector[Nr] h_sigma: SoA (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable row_vec_lower_upper_test) ()) URowVector @@ -8581,7 +8482,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable offset_mult_test) ()) UVector @@ -8611,7 +8512,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ordered_test) ()) UVector @@ -8635,7 +8536,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable unit_vec_test) ()) UVector @@ -8659,7 +8560,7 @@ vector[Nr] h_sigma: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos_ordered_test) ()) UVector @@ -8684,7 +8585,7 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable corr_matrix_test) ()) UMatrix @@ -8710,7 +8611,7 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable cov_matrix_test) ()) UMatrix @@ -8736,7 +8637,7 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable chol_fac_cov_test) ()) UMatrix @@ -8762,7 +8663,7 @@ vector[Nr] h_sigma: SoA (SMatrix AoS ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var K)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable chol_fac_corr_test) ()) UMatrix @@ -9286,22 +9187,20 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable X_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id X_tp1) @@ -9310,7 +9209,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp1) ()) UMatrix @@ -9327,7 +9226,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp2) ()) UMatrix @@ -9344,7 +9243,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp3) ()) UMatrix @@ -9361,7 +9260,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp4) ()) UMatrix @@ -9378,7 +9277,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp5) ()) UMatrix @@ -9395,7 +9294,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp6) ()) UMatrix @@ -9412,7 +9311,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp7) ()) UMatrix @@ -9480,22 +9379,20 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable X_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id X_tp1) @@ -9504,7 +9401,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp1) ()) UMatrix @@ -9521,7 +9418,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp2) ()) UMatrix @@ -9538,7 +9435,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp3) ()) UMatrix @@ -9555,7 +9452,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp4) ()) UMatrix @@ -9572,7 +9469,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp5) ()) UMatrix @@ -9589,7 +9486,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp6) ()) UMatrix @@ -9606,7 +9503,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_tp7) ()) UMatrix @@ -9674,22 +9571,20 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable X_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp1) @@ -9698,7 +9593,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp2) @@ -9707,7 +9602,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp3) @@ -9716,7 +9611,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp4) @@ -9725,7 +9620,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp5) @@ -9734,7 +9629,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp6) @@ -9743,7 +9638,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id X_tp7) @@ -9752,7 +9647,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -9966,7 +9861,7 @@ matrix[10, 10] X_tp7: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -9979,13 +9874,13 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id X_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable X_p_flat__) ()) (UArray UReal) @@ -10072,7 +9967,7 @@ matrix[10, 10] X_tp7: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable X_p) ()) UMatrix @@ -10288,14 +10183,15 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -10312,7 +10208,8 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable M) ()) UInt @@ -10349,13 +10246,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id dat_x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable dat_x_flat__) ()) (UArray UReal) @@ -10437,13 +10334,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id y_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable y_flat__) ()) (UArray UReal) @@ -10509,7 +10406,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable idx_tester) ()) (UArray UInt) @@ -10760,16 +10657,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_v) @@ -10777,19 +10672,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_v) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat) @@ -10798,20 +10692,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_arr_vec_v) @@ -10821,21 +10715,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_arr_vec_v) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat_uni_col_idx) @@ -10844,20 +10737,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_uni_idx) @@ -10865,41 +10758,40 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_uni_col_idx) (decl_type - (Sized - (SMatrix AoS - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (Sized + (SMatrix AoS + ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_lhs_loop_mul) @@ -10907,19 +10799,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_lhs_loop_mul) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_rhs_loop_mul) @@ -10927,19 +10818,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_rhs_loop_mul) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_used_with_aos_in_excluded_fun) @@ -10947,19 +10837,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_used_with_aos_in_excluded_fun) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_multi_uni_uni_idx) @@ -10968,20 +10857,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_multi_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_assign_to_aos) @@ -10989,19 +10878,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_assign_to_aos) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_tp_fails_func) @@ -11009,19 +10897,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_tp_fails_func) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_vec_v_uni_idx) @@ -11029,19 +10916,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_vec_v_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_fail_assign_from_top_idx) @@ -11049,19 +10935,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_fail_assign_from_top_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_mat_uni_uni_idx) @@ -11070,20 +10955,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_mat_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat) @@ -11092,20 +10977,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed1) @@ -11114,20 +10999,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed2) @@ -11136,20 +11021,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx1) @@ -11158,20 +11043,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx2) @@ -11180,24 +11065,24 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_aos) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_aos) ()) UReal @@ -11216,7 +11101,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_aos_vec_v) ()) UVector @@ -11232,7 +11117,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -11268,7 +11153,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_aos_fail_func_vec_v) ()) UVector @@ -11296,7 +11181,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -11329,7 +11214,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_soa_used_with_aos_in_excluded_fun) ()) UVector @@ -11574,7 +11459,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -11600,7 +11485,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -11969,7 +11854,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -11985,7 +11870,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar i) @@ -12148,16 +12033,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_v) @@ -12165,19 +12048,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_v) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat) @@ -12186,20 +12068,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_arr_vec_v) @@ -12209,21 +12091,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_arr_vec_v) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat_uni_col_idx) @@ -12232,20 +12113,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_uni_idx) @@ -12253,41 +12134,40 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_uni_col_idx) - (decl_type - (Sized - (SMatrix SoA - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (decl_type + (Sized + (SMatrix SoA + ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_lhs_loop_mul) @@ -12295,19 +12175,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SRowVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_lhs_loop_mul) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_rhs_loop_mul) @@ -12315,19 +12194,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_rhs_loop_mul) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_used_with_aos_in_excluded_fun) @@ -12335,19 +12213,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_used_with_aos_in_excluded_fun) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_multi_uni_uni_idx) @@ -12356,20 +12233,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_multi_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_assign_to_aos) @@ -12377,19 +12254,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_assign_to_aos) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_tp_fails_func) @@ -12397,19 +12273,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_tp_fails_func) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_vec_v_uni_idx) @@ -12417,19 +12292,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_vec_v_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_fail_assign_from_top_idx) @@ -12437,19 +12311,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_fail_assign_from_top_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_mat_uni_uni_idx) @@ -12458,20 +12331,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_mat_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat) @@ -12480,20 +12353,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed1) @@ -12502,20 +12375,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed2) @@ -12524,20 +12397,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx1) @@ -12546,20 +12419,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx2) @@ -12568,24 +12441,24 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_aos) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_aos) ()) UReal @@ -12604,7 +12477,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_aos_vec_v) ()) UVector @@ -12620,7 +12493,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -12656,7 +12529,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_aos_fail_func_vec_v) ()) UVector @@ -12684,7 +12557,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -12717,7 +12590,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_soa_used_with_aos_in_excluded_fun) ()) UVector @@ -12962,7 +12835,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -12988,7 +12861,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -13357,7 +13230,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -13373,7 +13246,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar i) @@ -13536,16 +13409,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_vec_v) @@ -13553,19 +13424,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_v) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_mat) @@ -13574,20 +13444,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_arr_vec_v) @@ -13597,21 +13467,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_arr_vec_v) ()) (UArray UVector) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_mat_uni_col_idx) @@ -13620,20 +13489,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_vec_uni_idx) @@ -13641,41 +13510,40 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_vec_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_loop_mat_uni_col_idx) (decl_type (Sized (SMatrix AoS - ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_uni_col_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_lhs_loop_mul) @@ -13683,19 +13551,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_lhs_loop_mul) ()) URowVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_rhs_loop_mul) @@ -13703,19 +13570,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_rhs_loop_mul) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_used_with_aos_in_excluded_fun) @@ -13723,19 +13589,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_used_with_aos_in_excluded_fun) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_soa_loop_mat_multi_uni_uni_idx) @@ -13744,20 +13609,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_soa_loop_mat_multi_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_vec_v_assign_to_aos) @@ -13765,19 +13630,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_assign_to_aos) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_vec_v_tp_fails_func) @@ -13785,19 +13649,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_vec_v_tp_fails_func) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_loop_vec_v_uni_idx) @@ -13805,19 +13668,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_vec_v_uni_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_fail_assign_from_top_idx) @@ -13825,19 +13687,18 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_fail_assign_from_top_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_loop_mat_uni_uni_idx) @@ -13846,20 +13707,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_mat_uni_uni_idx) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_mat) @@ -13868,20 +13729,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_mat_pass_func_outer_single_indexed1) @@ -13890,20 +13751,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_mat_pass_func_outer_single_indexed2) @@ -13912,20 +13773,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_mat_fail_uni_uni_idx1) @@ -13934,20 +13795,20 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_mat_fail_uni_uni_idx2) @@ -13956,24 +13817,24 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_from_aos) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_aos_vec_v) @@ -13981,7 +13842,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_soa_single_idx_uninit) @@ -13989,7 +13850,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_aos_fail_func_vec_v) @@ -13997,7 +13858,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_aos_fail_assign_from_top_idx) @@ -14005,7 +13866,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -14391,7 +14252,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -14399,7 +14260,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -14429,13 +14290,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_v_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_vec_v_flat__) ()) (UArray UReal) @@ -14504,13 +14365,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_mat_flat__) ()) (UArray UReal) @@ -14597,13 +14458,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_arr_vec_v_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_arr_vec_v_flat__) ()) (UArray UReal) @@ -14689,13 +14550,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_mat_uni_col_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_mat_uni_col_idx_flat__) ()) (UArray UReal) @@ -14780,13 +14641,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_vec_uni_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_vec_uni_idx_flat__) ()) (UArray UReal) @@ -14855,13 +14716,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_uni_col_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_loop_mat_uni_col_idx_flat__) ()) @@ -14947,13 +14808,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_lhs_loop_mul_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_lhs_loop_mul_flat__) ()) (UArray UReal) @@ -15021,13 +14882,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_rhs_loop_mul_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_rhs_loop_mul_flat__) ()) (UArray UReal) @@ -15095,14 +14956,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_used_with_aos_in_excluded_fun_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_used_with_aos_in_excluded_fun_flat__) ()) @@ -15172,14 +15033,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_soa_loop_mat_multi_uni_uni_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_soa_loop_mat_multi_uni_uni_idx_flat__) ()) @@ -15265,13 +15126,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_assign_to_aos_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_vec_v_assign_to_aos_flat__) ()) @@ -15340,13 +15201,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_vec_v_tp_fails_func_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_vec_v_tp_fails_func_flat__) ()) @@ -15415,13 +15276,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_vec_v_uni_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_vec_v_uni_idx_flat__) ()) @@ -15490,13 +15351,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_fail_assign_from_top_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_fail_assign_from_top_idx_flat__) ()) @@ -15566,13 +15427,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_mat_uni_uni_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_mat_uni_uni_idx_flat__) ()) @@ -15659,13 +15520,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_flat__) ()) (UArray UReal) @@ -15751,14 +15612,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed1_flat__) ()) @@ -15846,14 +15707,14 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_pass_func_outer_single_indexed2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed2_flat__) ()) @@ -15941,13 +15802,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx1_flat__) ()) @@ -16034,13 +15895,13 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_mat_fail_uni_uni_idx2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx2_flat__) ()) @@ -16123,7 +15984,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -16144,7 +16005,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_vec_v) ()) UVector @@ -16169,7 +16030,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_mat) ()) UMatrix @@ -16196,7 +16057,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -16250,7 +16111,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_mat_uni_col_idx) ()) UMatrix @@ -16275,7 +16136,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_vec_uni_idx) ()) UVector @@ -16300,7 +16161,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_loop_mat_uni_col_idx) ()) UMatrix @@ -16325,7 +16186,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SRowVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_lhs_loop_mul) ()) URowVector @@ -16349,7 +16210,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_rhs_loop_mul) ()) UVector @@ -16373,7 +16234,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_used_with_aos_in_excluded_fun) ()) UVector @@ -16398,7 +16259,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_soa_loop_mat_multi_uni_uni_idx) ()) UMatrix @@ -16423,7 +16284,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_vec_v_assign_to_aos) ()) UVector @@ -16447,7 +16308,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_vec_v_tp_fails_func) ()) UVector @@ -16471,7 +16332,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_vec_v_uni_idx) ()) UVector @@ -16495,7 +16356,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (Sized (SVector AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_fail_assign_from_top_idx) ()) UVector @@ -16520,7 +16381,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_mat_uni_uni_idx) ()) UMatrix @@ -16546,7 +16407,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat) ()) UMatrix @@ -16572,7 +16433,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed1) ()) UMatrix @@ -16598,7 +16459,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_pass_func_outer_single_indexed2) ()) UMatrix @@ -16624,7 +16485,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx1) ()) UMatrix @@ -16650,7 +16511,7 @@ vector[N] tp_aos_loop_vec_v_multi_uni_idx: AoS (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_mat_fail_uni_uni_idx2) ()) UMatrix @@ -16966,7 +16827,8 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) (prepare_data (((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -16983,7 +16845,8 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable M) ()) UInt @@ -17011,7 +16874,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable Idx) ()) (UArray UInt) @@ -17024,16 +16887,14 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_single_idx) @@ -17041,20 +16902,18 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_single_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -17072,7 +16931,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_soa_multi_idx_assign_in_loop) ()) UVector @@ -17126,7 +16985,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar i) @@ -17163,16 +17022,14 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_single_idx) @@ -17180,20 +17037,18 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_single_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -17211,7 +17066,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_soa_multi_idx_assign_in_loop) ()) UVector @@ -17265,7 +17120,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector SoA ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar i) @@ -17302,16 +17157,14 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id p_aos_loop_single_idx) @@ -17319,20 +17172,18 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable p_aos_loop_single_idx) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -17377,7 +17228,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -17385,7 +17236,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -17415,13 +17266,13 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id p_aos_loop_single_idx_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_single_idx_flat__) ()) (UArray UReal) @@ -17487,7 +17338,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id alpha) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) UReal @@ -17508,7 +17359,7 @@ vector[N] tp_soa_single_idx_in_upfrom_idx: SoA (Sized (SVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable p_aos_loop_single_idx) ()) UVector @@ -17590,7 +17441,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id data_r) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable data_r) ()) UReal @@ -17607,29 +17458,27 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) (meta )))) (log_prob - (((pattern - (Decl (decl_adtype AutoDiffable) (decl_id soa_x) - (decl_type - (Sized - (SMatrix AoS - ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id soa_x) + (decl_type + (Sized + (SMatrix AoS + ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x) @@ -17638,22 +17487,20 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_y) @@ -17662,26 +17509,24 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_y) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_soa) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_soa) ()) UReal @@ -17714,7 +17559,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_aos_from_mix) ()) UMatrix @@ -17751,7 +17596,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_from_udf_reduced_soa) ()) UMatrix @@ -17774,22 +17619,20 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix SoA ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x) @@ -17798,22 +17641,20 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_y) @@ -17822,26 +17663,24 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_y) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_soa) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_soa) ()) UReal @@ -17874,7 +17713,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_aos_from_mix) ()) UMatrix @@ -17911,7 +17750,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_from_udf_reduced_soa) ()) UMatrix @@ -17934,22 +17773,20 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id aos_x) @@ -17958,22 +17795,20 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id aos_y) @@ -17982,26 +17817,24 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_y) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_from_soa) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_matrix_aos_from_mix) @@ -18010,7 +17843,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_matrix_from_udf_reduced_soa) @@ -18019,7 +17852,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -18175,7 +18008,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -18188,13 +18021,13 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id soa_x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable soa_x_flat__) ()) (UArray UReal) @@ -18281,13 +18114,13 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable aos_x_flat__) ()) (UArray UReal) @@ -18374,13 +18207,13 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_y_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable aos_y_flat__) ()) (UArray UReal) @@ -18468,7 +18301,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_x) ()) UMatrix @@ -18495,7 +18328,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_x) ()) UMatrix @@ -18522,7 +18355,7 @@ matrix[5, 10] tp_matrix_from_udf_reduced_soa: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_y) ()) UMatrix @@ -18644,7 +18477,7 @@ matrix[10, 10] mul_two_aos: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Return @@ -18674,22 +18507,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_soa) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id udf_input_aos) @@ -18698,22 +18529,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable udf_input_aos) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id user_func_aos) @@ -18722,7 +18551,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable user_func_aos) ()) UMatrix @@ -18739,7 +18568,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable empty_user_func_aos) ()) UMatrix @@ -18753,7 +18582,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable inner_empty_user_func_aos) ()) UMatrix @@ -18772,7 +18601,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable int_aos_mul_aos) ()) UMatrix @@ -18798,7 +18627,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mul_two_aos) ()) UMatrix @@ -18833,22 +18662,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix SoA ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_soa) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id udf_input_aos) @@ -18857,22 +18684,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable udf_input_aos) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id user_func_aos) @@ -18881,7 +18706,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable user_func_aos) ()) UMatrix @@ -18898,7 +18723,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable empty_user_func_aos) ()) UMatrix @@ -18912,7 +18737,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable inner_empty_user_func_aos) ()) UMatrix @@ -18931,7 +18756,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable int_aos_mul_aos) ()) UMatrix @@ -18957,7 +18782,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable mul_two_aos) ()) UMatrix @@ -18992,22 +18817,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable row_soa) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id udf_input_aos) @@ -19016,22 +18839,20 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable udf_input_aos) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id user_func_aos) @@ -19040,7 +18861,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id empty_user_func_aos) @@ -19049,7 +18870,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id inner_empty_user_func_aos) @@ -19058,7 +18879,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id int_aos_mul_aos) @@ -19067,7 +18888,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id mul_two_aos) @@ -19076,7 +18897,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -19241,7 +19062,7 @@ matrix[10, 10] mul_two_aos: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -19254,13 +19075,13 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id row_soa_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable row_soa_flat__) ()) (UArray UReal) @@ -19347,13 +19168,13 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id udf_input_aos_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable udf_input_aos_flat__) ()) (UArray UReal) @@ -19441,7 +19262,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable row_soa) ()) UMatrix @@ -19469,7 +19290,7 @@ matrix[10, 10] mul_two_aos: AoS (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable udf_input_aos) ()) UMatrix @@ -19619,50 +19440,46 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id soa_p) (decl_type (Sized - (SMatrix AoS - ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (SMatrix AoS + ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_soa) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_soa) ()) UReal @@ -19694,7 +19511,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SRowVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_row_vector_from_soa_loop) ()) URowVector @@ -19721,7 +19538,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_from_soa_loop) ()) UMatrix @@ -19752,22 +19569,20 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id soa_p) @@ -19776,26 +19591,24 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix SoA ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_real_from_soa) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_real_from_soa) ()) UReal @@ -19827,7 +19640,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SRowVector SoA ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_row_vector_from_soa_loop) ()) URowVector @@ -19854,7 +19667,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_from_soa_loop) ()) UMatrix @@ -19885,22 +19698,20 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id soa_p) @@ -19909,26 +19720,24 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable soa_p) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_real_from_soa) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -19992,7 +19801,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SRowVector AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_row_vector_from_soa_loop) ()) URowVector @@ -20019,7 +19828,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_from_soa_loop) ()) UMatrix @@ -20072,7 +19881,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -20085,13 +19894,13 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable aos_p_flat__) ()) (UArray UReal) @@ -20178,13 +19987,13 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id soa_p_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable soa_p_flat__) ()) (UArray UReal) @@ -20272,7 +20081,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_p) ()) UMatrix @@ -20300,7 +20109,7 @@ matrix[10, 10] tp_matrix_from_soa_loop: SoA (SMatrix AoS ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable soa_p) ()) UMatrix @@ -20400,7 +20209,7 @@ matrix[5, 10] tp_matrix_aos: AoS (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id data_r) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable data_r) ()) UReal @@ -20424,22 +20233,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable first_pass_soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x) @@ -20448,22 +20255,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_matrix_aos) @@ -20472,7 +20277,7 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_aos) ()) UMatrix @@ -20495,22 +20300,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable first_pass_soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x) @@ -20519,22 +20322,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tp_matrix_aos) @@ -20543,7 +20344,7 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tp_matrix_aos) ()) UMatrix @@ -20566,22 +20367,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable first_pass_soa_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id aos_x) @@ -20590,22 +20389,20 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable aos_x) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 5)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 10)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tp_matrix_aos) @@ -20614,7 +20411,7 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -20691,7 +20488,7 @@ matrix[5, 10] tp_matrix_aos: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -20704,13 +20501,13 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id first_pass_soa_x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable first_pass_soa_x_flat__) ()) (UArray UReal) @@ -20797,13 +20594,13 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id aos_x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable aos_x_flat__) ()) (UArray UReal) @@ -20891,7 +20688,7 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable first_pass_soa_x) ()) UMatrix @@ -20918,7 +20715,7 @@ matrix[5, 10] tp_matrix_aos: AoS (SMatrix AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable aos_x) ()) UMatrix @@ -21048,7 +20845,7 @@ matrix[1, 1] x: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable xx) ()) 1) ()) (UArray UMatrix) @@ -21104,7 +20901,7 @@ matrix[1, 1] x: AoS (SMatrix AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UMatrix @@ -21148,7 +20945,7 @@ matrix[1, 1] x: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable xx) ()) 1) ()) (UArray UMatrix) @@ -21204,7 +21001,7 @@ matrix[1, 1] x: AoS (SMatrix AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UMatrix @@ -21247,7 +21044,7 @@ matrix[1, 1] x: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable xx) ()) 1) ()) (UArray UMatrix) @@ -21303,7 +21100,7 @@ matrix[1, 1] x: AoS (SMatrix AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21467,7 +21264,7 @@ matrix[1, 1] x: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -21497,13 +21294,13 @@ matrix[1, 1] x: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id xx_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable xx_dot_1_flat__) ()) (UArray UReal) @@ -21603,7 +21400,7 @@ matrix[1, 1] x: AoS (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id xx_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable xx_dot_2_flat__) ()) (UArray UReal) @@ -21678,7 +21475,7 @@ matrix[1, 1] x: AoS (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id xx_dot_3_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable xx_dot_3_flat__) ()) (UArray UReal) @@ -21819,7 +21616,7 @@ matrix[1, 1] x: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -21998,7 +21795,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -22011,13 +21808,13 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable x_flat__) ()) (UArray UReal) @@ -22096,22 +21893,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2) @@ -22120,22 +21915,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -22154,7 +21947,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp) ()) (UTuple (UMatrix UMatrix)) @@ -22204,22 +21997,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2) @@ -22228,22 +22019,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -22262,7 +22051,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp) ()) (UTuple (UMatrix UMatrix)) @@ -22312,22 +22101,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id m2) @@ -22336,22 +22123,20 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -22395,7 +22180,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -22408,13 +22193,13 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m1_flat__) ()) (UArray UReal) @@ -22500,13 +22285,13 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m2_flat__) ()) (UArray UReal) @@ -22593,7 +22378,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable m1) ()) UMatrix @@ -22618,7 +22403,7 @@ tuple(matrix[2, 2], matrix[3, 3]) temp: AoS (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable m2) ()) UMatrix diff --git a/test/integration/good/decl_assign.stan b/test/integration/good/decl_assign.stan new file mode 100644 index 000000000..0d06814cf --- /dev/null +++ b/test/integration/good/decl_assign.stan @@ -0,0 +1,3 @@ +parameters { + vector[10] xx_param; +} \ No newline at end of file diff --git a/test/integration/good/pretty.expected b/test/integration/good/pretty.expected index bf61c47b8..022c89f94 100644 --- a/test/integration/good/pretty.expected +++ b/test/integration/good/pretty.expected @@ -1455,6 +1455,11 @@ model { x ~ normal(0, linspaced_array(size(x), 1.0, 10.0)); } + $ ../../../../install/default/bin/stanc --auto-format decl_assign.stan +parameters { + vector[10] xx_param; +} + $ ../../../../install/default/bin/stanc --auto-format declarations.stan data { int a0; diff --git a/test/integration/good/tuples/cpp.expected b/test/integration/good/tuples/cpp.expected index 0289c417d..2d5da4842 100644 --- a/test/integration/good/tuples/cpp.expected +++ b/test/integration/good/tuples/cpp.expected @@ -3376,9 +3376,8 @@ class infer_tuple_ad_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); { std::vector> z = std::vector>(2, @@ -3421,9 +3420,8 @@ class infer_tuple_ad_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - local_scalar_t__ x = DUMMY_VAR__; current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); { std::vector> z = std::vector>(2, @@ -3477,9 +3475,8 @@ class infer_tuple_ad_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - double x = std::numeric_limits::quiet_NaN(); current_statement__ = 1; - x = in__.template read(); + auto x = in__.template read(); out__.write(x); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -4210,10 +4207,9 @@ class qr_unpack_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); current_statement__ = 1; - A = in__.template read>(N, M); + auto A = + in__.template read>(N, M); { current_statement__ = 2; stan::math::validate_non_negative_index("Q", "N", N); @@ -4272,10 +4268,9 @@ class qr_unpack_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A = - Eigen::Matrix::Constant(N, M, DUMMY_VAR__); current_statement__ = 1; - A = in__.template read>(N, M); + auto A = + in__.template read>(N, M); { current_statement__ = 2; stan::math::validate_non_negative_index("Q", "N", N); @@ -4345,11 +4340,9 @@ class qr_unpack_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix A = - Eigen::Matrix::Constant(N, M, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - A = in__.template read>(N, M); + auto A = + in__.template read>(N, M); out__.write(A); if (stan::math::logical_negation( (stan::math::primitive_value(emit_transformed_parameters__) || @@ -6151,10 +6144,10 @@ class tuple_constraints_params_model final : public model_base_crtp(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); + auto t = + in__.template read_constrain_lub(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); std::vector< std::tuple(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); + auto t = + in__.template read_constrain_lub(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); std::vector< std::tuple::quiet_NaN(); current_statement__ = 3; - t = in__.template read_constrain_lub(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); + auto t = + in__.template read_constrain_lub(std::get<0>(foo(pstream__)), std::get<1>(ps), lp__); std::vector< std::tuple { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); { std::tuple, Eigen::Matrix> temp = @@ -12953,14 +12944,12 @@ class tuple_copying_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, DUMMY_VAR__); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); { std::tuple, Eigen::Matrix> temp = @@ -13070,16 +13059,12 @@ class tuple_copying_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - Eigen::Matrix m1 = - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN()); current_statement__ = 1; - m1 = in__.template read>(3, 3); - Eigen::Matrix m2 = - Eigen::Matrix::Constant(3, 3, - std::numeric_limits::quiet_NaN()); + auto m1 = + in__.template read>(3, 3); current_statement__ = 1; - m2 = in__.template read>(3, 3); + auto m2 = + in__.template read>(3, 3); out__.write(m1); out__.write(m2); if (stan::math::logical_negation( @@ -13916,10 +13901,8 @@ class tuple_hof_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector param_y = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - param_y = in__.template read>(N); + auto param_y = in__.template read>(N); local_scalar_t__ sum2 = DUMMY_VAR__; current_statement__ = 2; sum2 = stan::math::reduce_sum(param_y, 1, pstream__, @@ -13954,10 +13937,8 @@ class tuple_hof_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector param_y = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - param_y = in__.template read>(N); + auto param_y = in__.template read>(N); local_scalar_t__ sum2 = DUMMY_VAR__; current_statement__ = 2; sum2 = stan::math::reduce_sum(param_y, 1, pstream__, @@ -14003,10 +13984,8 @@ class tuple_hof_model final : public model_base_crtp { // suppress unused var warning (void) function__; try { - std::vector param_y = - std::vector(N, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - param_y = in__.template read>(N); + auto param_y = in__.template read>(N); double sum2 = std::numeric_limits::quiet_NaN(); out__.write(param_y); if (stan::math::logical_negation( @@ -15874,14 +15853,11 @@ class unpack_promote_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - std::vector alpha = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - alpha = in__.template read>(N); - Eigen::Matrix theta = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto alpha = in__.template read>(N); current_statement__ = 2; - theta = in__.template read>(N); + auto theta = + in__.template read>(N); { current_statement__ = 3; stan::math::validate_non_negative_index("r", "N", N); @@ -16029,14 +16005,11 @@ class unpack_promote_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - std::vector alpha = - std::vector(N, DUMMY_VAR__); current_statement__ = 1; - alpha = in__.template read>(N); - Eigen::Matrix theta = - Eigen::Matrix::Constant(N, DUMMY_VAR__); + auto alpha = in__.template read>(N); current_statement__ = 2; - theta = in__.template read>(N); + auto theta = + in__.template read>(N); { current_statement__ = 3; stan::math::validate_non_negative_index("r", "N", N); @@ -16195,15 +16168,11 @@ class unpack_promote_model final : public model_base_crtp // suppress unused var warning (void) function__; try { - std::vector alpha = - std::vector(N, std::numeric_limits::quiet_NaN()); current_statement__ = 1; - alpha = in__.template read>(N); - Eigen::Matrix theta = - Eigen::Matrix::Constant(N, - std::numeric_limits::quiet_NaN()); + auto alpha = in__.template read>(N); current_statement__ = 2; - theta = in__.template read>(N); + auto theta = + in__.template read>(N); out__.write(alpha); out__.write(theta); if (stan::math::logical_negation( diff --git a/test/integration/good/tuples/transformed_mir.expected b/test/integration/good/tuples/transformed_mir.expected index bac3d3307..804da4cd4 100644 --- a/test/integration/good/tuples/transformed_mir.expected +++ b/test/integration/good/tuples/transformed_mir.expected @@ -107,7 +107,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -122,7 +122,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic) ()) 1) ()) (UArray UReal) @@ -158,7 +158,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple) ()) 1) ()) UInt @@ -194,7 +194,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_tuple_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable tuple_tuple_dot_2_dot_2_flat__) ()) @@ -264,13 +264,13 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_dot_1_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_1_flat__) ()) UInt @@ -284,7 +284,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_1_flat__pos__) ()) UInt @@ -292,7 +292,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_2_flat__) ()) (UArray UReal) @@ -306,7 +306,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_2_flat__pos__) ()) UInt @@ -314,7 +314,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_dot_3_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_3_flat__) ()) UVector @@ -328,7 +328,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_3_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_3_flat__pos__) ()) UInt @@ -336,7 +336,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_1_temp__) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_2_temp__) @@ -345,7 +345,7 @@ (SArray SReal ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_dot_3_temp__) @@ -354,7 +354,7 @@ (SVector AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -430,7 +430,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_dot_3_temp___flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_dot_3_temp___flat__) ()) @@ -560,7 +560,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple) ()) 1) ()) @@ -589,7 +589,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_arr_tuple_dot_3_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_dot_3_dot_1_flat__) ()) UReal @@ -603,7 +603,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_dot_3_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_dot_3_dot_1_flat__pos__) ()) UInt @@ -611,7 +611,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_arr_tuple_dot_3_dot_2_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_dot_3_dot_2_flat__) ()) @@ -626,7 +626,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_dot_3_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_dot_3_dot_2_flat__pos__) ()) UInt @@ -634,7 +634,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_dot_3_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_dot_3_dot_2_temp__) @@ -643,7 +643,7 @@ (SArray SInt ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -753,13 +753,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_1_flat__) ()) UReal @@ -774,7 +774,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_1_flat__pos__) ()) UInt @@ -782,7 +782,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_2_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_2_flat__) ()) UInt @@ -797,7 +797,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_2_flat__pos__) ()) UInt @@ -805,7 +805,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_3_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_1_flat__) ()) UReal @@ -820,7 +820,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_3_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_1_flat__pos__) ()) UInt @@ -829,7 +829,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_3_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_2_dot_1_flat__) ()) UInt @@ -845,7 +845,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_3_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_2_dot_1_flat__pos__) ()) UInt @@ -854,7 +854,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_3_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_2_dot_2_flat__) ()) UVector @@ -870,7 +870,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_3_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_dot_3_dot_2_dot_2_flat__pos__) ()) UInt @@ -878,11 +878,11 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_dot_2_temp__) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly))))) @@ -896,7 +896,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -1020,7 +1020,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_dot_3_temp___dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment @@ -1169,13 +1169,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_dot_1_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_1_flat__) ()) UInt @@ -1189,7 +1189,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_1_flat__pos__) ()) UInt @@ -1198,7 +1198,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_2_dot_1_flat__) ()) @@ -1214,7 +1214,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_2_dot_1_flat__pos__) ()) UInt @@ -1223,7 +1223,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_2_dot_2_flat__) ()) @@ -1239,7 +1239,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_dot_2_dot_2_flat__pos__) ()) UInt @@ -1247,7 +1247,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_dot_1_temp__) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) @@ -1262,7 +1262,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -1301,7 +1301,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_dot_2_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -1311,7 +1311,7 @@ (SVector AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym2__) @@ -1362,8 +1362,8 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_dot_2_dot_2_temp___flat__) - (decl_type (Unsized (UArray UReal))) - (initialize true))) + (decl_type (Unsized (UArray UReal))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -1565,13 +1565,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_dot_1_flat__) - (decl_type (Unsized (UArray UInt))) (initialize true))) + (decl_type (Unsized (UArray UInt))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_1_flat__) ()) UInt @@ -1588,7 +1588,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_1_flat__pos__) ()) UInt @@ -1596,7 +1596,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_1_flat__) ()) (UArray UReal) @@ -1613,7 +1613,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_1_flat__pos__) ()) UInt @@ -1621,7 +1621,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_dot_2_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UComplex))) (initialize true))) + (decl_type (Unsized (UArray UComplex))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_2_dot_1_flat__) ()) @@ -1639,7 +1639,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_2_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_2_dot_1_flat__pos__) ()) UInt @@ -1647,7 +1647,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_dot_2_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_2_dot_2_flat__) ()) @@ -1665,7 +1665,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_2_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_dot_2_dot_2_dot_2_flat__pos__) ()) UInt @@ -1673,7 +1673,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_1_temp__) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly))))) @@ -1695,7 +1695,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -1733,7 +1733,7 @@ (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_2_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) @@ -1750,7 +1750,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym2__) @@ -1796,7 +1796,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_dot_2_dot_2_dot_1_temp__) - (decl_type (Sized SComplex)) (initialize true))) + (decl_type (Sized SComplex)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -1810,7 +1810,7 @@ ((pattern (Lit Int 7)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym3__) @@ -1877,7 +1877,7 @@ (decl_id very_deep_dot_2_dot_2_dot_2_temp___flat__) (decl_type (Unsized (UArray UReal))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -2183,7 +2183,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic_p) ()) 1) ()) (UArray UReal) @@ -2219,7 +2219,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple_p) ()) 1) ()) UReal @@ -2271,7 +2271,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -2363,7 +2363,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple_p) ()) 1) ()) @@ -2457,7 +2457,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -2591,7 +2591,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -2709,7 +2709,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -2868,7 +2868,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic_p) ()) 1) ()) (UArray UReal) @@ -2904,7 +2904,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple_p) ()) 1) ()) UReal @@ -2956,7 +2956,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3048,7 +3048,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple_p) ()) 1) ()) @@ -3142,7 +3142,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3276,7 +3276,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3394,7 +3394,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3553,7 +3553,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic_p) ()) 1) ()) (UArray UReal) @@ -3589,7 +3589,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple_p) ()) 1) ()) UReal @@ -3640,7 +3640,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3730,7 +3730,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple_p) ()) 1) ()) @@ -3822,7 +3822,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -3956,7 +3956,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -4073,7 +4073,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -5117,7 +5117,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -5132,7 +5132,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic_p) ()) 1) ()) (UArray UReal) @@ -5196,7 +5196,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple_p) ()) 1) ()) UReal @@ -5232,7 +5232,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_tuple_p_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable tuple_tuple_p_dot_2_dot_2_flat__) ()) @@ -5356,13 +5356,13 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_p_dot_1_flat__) - (decl_type (Unsized (UArray UComplex))) (initialize true))) + (decl_type (Unsized (UArray UComplex))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_1_flat__) ()) UComplex @@ -5376,7 +5376,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_1_flat__pos__) ()) UInt @@ -5384,7 +5384,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_p_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_2_flat__) ()) (UArray UReal) @@ -5398,7 +5398,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_2_flat__pos__) ()) UInt @@ -5406,7 +5406,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_p_dot_3_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_3_flat__) ()) UVector @@ -5420,7 +5420,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_3_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_3_flat__pos__) ()) UInt @@ -5428,7 +5428,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_1_temp__) - (decl_type (Sized SComplex)) (initialize true))) + (decl_type (Sized SComplex)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_2_temp__) @@ -5437,7 +5437,7 @@ (SArray SReal ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_p_dot_3_temp__) @@ -5446,7 +5446,7 @@ (SVector AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -5523,7 +5523,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_p_dot_3_temp___flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_p_dot_3_temp___flat__) ()) @@ -5735,7 +5735,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple_p) ()) 1) ()) @@ -5764,7 +5764,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_arr_tuple_p_dot_3_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_p_dot_3_dot_1_flat__) ()) UReal @@ -5778,7 +5778,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_p_dot_3_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_p_dot_3_dot_1_flat__pos__) ()) UInt @@ -5786,7 +5786,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id tuple_arr_tuple_p_dot_3_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_p_dot_3_dot_2_flat__) ()) @@ -5801,7 +5801,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_p_dot_3_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable tuple_arr_tuple_p_dot_3_dot_2_flat__pos__) ()) UInt @@ -5809,7 +5809,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_p_dot_3_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id tuple_arr_tuple_p_dot_3_dot_2_temp__) @@ -5818,7 +5818,7 @@ (SArray SReal ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -6038,13 +6038,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_1_flat__) ()) UReal @@ -6060,7 +6060,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_1_flat__pos__) ()) UInt @@ -6068,7 +6068,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_2_flat__) ()) UReal @@ -6084,7 +6084,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_2_flat__pos__) ()) UInt @@ -6092,7 +6092,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_3_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_1_flat__) ()) UReal @@ -6108,7 +6108,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_3_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_1_flat__pos__) ()) UInt @@ -6117,7 +6117,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_3_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UComplex))) (initialize true))) + (decl_type (Unsized (UArray UComplex))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_2_dot_1_flat__) ()) UComplex @@ -6134,7 +6134,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_3_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_2_dot_1_flat__pos__) ()) @@ -6144,7 +6144,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_3_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_2_dot_2_flat__) ()) UVector @@ -6161,7 +6161,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_3_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_tuple_p_dot_3_dot_2_dot_2_flat__pos__) ()) @@ -6170,11 +6170,11 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_tuple_p_dot_2_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly))))) @@ -6188,7 +6188,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -6313,7 +6313,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_tuple_p_dot_3_temp___dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment @@ -6652,13 +6652,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_p_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_1_flat__) ()) UReal @@ -6672,7 +6672,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_p_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_1_flat__pos__) ()) UInt @@ -6681,7 +6681,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_2_dot_1_flat__) ()) @@ -6697,7 +6697,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_2_dot_1_flat__pos__) ()) UInt @@ -6706,7 +6706,7 @@ ((pattern (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_2_dot_2_flat__) ()) @@ -6722,7 +6722,7 @@ ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arr_tuple_arr_tuple_p_dot_2_dot_2_flat__pos__) ()) UInt @@ -6730,7 +6730,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_p_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) @@ -6745,7 +6745,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -6785,7 +6785,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -6795,7 +6795,7 @@ (SVector AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym2__) @@ -6848,8 +6848,8 @@ (Decl (decl_adtype AutoDiffable) (decl_id arr_tuple_arr_tuple_p_dot_2_dot_2_temp___flat__) - (decl_type (Unsized (UArray UReal))) - (initialize true))) + (decl_type (Unsized (UArray UReal))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -7187,13 +7187,13 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_p_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_1_flat__) ()) UReal @@ -7211,7 +7211,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_1_flat__pos__) ()) UInt @@ -7219,7 +7219,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_p_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_1_flat__) ()) @@ -7238,7 +7238,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_1_flat__pos__) ()) UInt @@ -7246,7 +7246,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_p_dot_2_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UComplex))) (initialize true))) + (decl_type (Unsized (UArray UComplex))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_2_dot_1_flat__) ()) @@ -7265,7 +7265,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_2_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_2_dot_1_flat__pos__) ()) UInt @@ -7273,7 +7273,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id very_deep_p_dot_2_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_2_dot_2_flat__) ()) @@ -7292,7 +7292,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_2_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable very_deep_p_dot_2_dot_2_dot_2_flat__pos__) ()) UInt @@ -7300,7 +7300,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly))))) @@ -7322,7 +7322,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -7361,7 +7361,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_2_dot_1_temp__) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) @@ -7378,7 +7378,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym2__) @@ -7424,7 +7424,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id very_deep_p_dot_2_dot_2_dot_1_temp__) - (decl_type (Sized SComplex)) (initialize true))) + (decl_type (Sized SComplex)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -7438,7 +7438,7 @@ ((pattern (Lit Int 7)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym3__) @@ -7506,7 +7506,7 @@ (decl_id very_deep_p_dot_2_dot_2_dot_2_temp___flat__) (decl_type (Unsized (UArray UReal))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -8100,7 +8100,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable basic_p) ()) 1) ()) (UArray UReal) @@ -8155,7 +8155,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_tuple_p) ()) 1) ()) UReal @@ -8246,7 +8246,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -8404,7 +8404,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable tuple_arr_tuple_p) ()) 1) ()) @@ -8586,7 +8586,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -8883,7 +8883,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -9120,7 +9120,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -9761,14 +9761,16 @@ ((functions_block ()) (input_vars ()) (prepare_data (((pattern - (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UInt ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y) ()) UInt @@ -9783,7 +9785,7 @@ (Block (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UInt UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UInt UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UInt UInt)) @@ -9829,7 +9831,7 @@ (Block (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UInt UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UInt UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UInt UInt)) @@ -9873,7 +9875,7 @@ (Block (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UInt UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UInt UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UInt UInt)) @@ -9912,7 +9914,7 @@ (Block (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UInt UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UInt UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UInt UInt)) @@ -9979,16 +9981,14 @@ (log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -9999,7 +9999,7 @@ (SArray (STuple (SReal SReal)) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z) ()) (UArray (UTuple (UReal UReal))) @@ -10047,16 +10047,14 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -10067,7 +10065,7 @@ (SArray (STuple (SReal SReal)) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z) ()) (UArray (UTuple (UReal UReal))) @@ -10115,16 +10113,14 @@ (generate_quantities (((pattern (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable x) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -10160,7 +10156,7 @@ (transform_inits (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UReal @@ -10187,7 +10183,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UReal @@ -10232,7 +10228,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -10257,7 +10253,7 @@ ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable complicated) ()) 1) ()) @@ -10288,7 +10284,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_2_flat__) ()) @@ -10378,11 +10374,11 @@ (SArray SReal ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) @@ -10391,7 +10387,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id w) @@ -10400,11 +10396,11 @@ (SArray SReal ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id i) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block @@ -10418,7 +10414,7 @@ (decl_type (Unsized (UTuple ((UArray UReal) (UTuple (UReal UVector (UArray UReal))) UInt)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -10456,7 +10452,7 @@ (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable AutoDiffable))) (decl_id sym2__) (decl_type (Unsized (UTuple (UReal UVector (UArray UReal))))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym2__) ()) @@ -10545,11 +10541,11 @@ (SArray SReal ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) @@ -10558,7 +10554,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id w) @@ -10567,11 +10563,11 @@ (SArray SReal ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id i) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block @@ -10585,7 +10581,7 @@ (decl_type (Unsized (UTuple ((UArray UReal) (UTuple (UReal UVector (UArray UReal))) UInt)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -10623,7 +10619,7 @@ (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable AutoDiffable))) (decl_id sym2__) (decl_type (Unsized (UTuple (UReal UVector (UArray UReal))))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym2__) ()) @@ -10741,7 +10737,8 @@ SInt))) (prepare_data (((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -10769,7 +10766,8 @@ (((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable M) ()) UInt @@ -10816,20 +10814,20 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -10856,7 +10854,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -10881,14 +10879,14 @@ (SMatrix AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id sym1__) (decl_type (Unsized (UTuple (UMatrix UMatrix)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UMatrix UMatrix)) @@ -10951,20 +10949,20 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -10991,7 +10989,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -11016,14 +11014,14 @@ (SMatrix AoS ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id sym1__) (decl_type (Unsized (UTuple (UMatrix UMatrix)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UMatrix UMatrix)) @@ -11086,20 +11084,20 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable A) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -11135,7 +11133,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -11148,13 +11146,13 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id A_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable A_flat__) ()) (UArray UReal) @@ -11240,7 +11238,7 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var M)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable A) ()) UMatrix @@ -11277,7 +11275,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -11285,7 +11283,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id x) - (decl_type (Sized (STuple (SReal SInt)))) (initialize true))) + (decl_type (Sized (STuple (SReal SInt)))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) (UTuple (UReal UInt)) @@ -11341,7 +11339,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -11356,7 +11354,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) (UTuple ((UArray UReal) UInt)) @@ -11423,7 +11421,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -11441,7 +11439,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) (UTuple ((UArray (UArray UReal)) UInt)) @@ -11560,7 +11558,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -11569,7 +11567,7 @@ ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly))))) (decl_id y) (decl_type (Sized (STuple (SInt (STuple (SReal SInt)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable y) ()) 1) ()) UInt @@ -11699,7 +11697,7 @@ (SVector AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable x) ()) 1) ()) UInt @@ -11733,7 +11731,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_dot_3_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable x_dot_3_flat__) ()) (UArray UReal) @@ -11858,13 +11856,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z_dot_1_flat__) ()) UReal @@ -11878,7 +11876,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z_dot_1_flat__pos__) ()) UInt @@ -11886,7 +11884,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z_dot_2_flat__) ()) UVector @@ -11900,7 +11898,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z_dot_2_flat__pos__) ()) UInt @@ -11908,7 +11906,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z_dot_1_temp__) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z_dot_2_temp__) @@ -11917,7 +11915,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -11970,7 +11968,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id z_dot_2_temp___flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z_dot_2_temp___flat__) ()) @@ -12265,7 +12263,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id indicator) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable indicator) ()) UInt @@ -12309,7 +12307,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_brack_dot2_1dim__) - (decl_type (Sized SInt)) (initialize true))) + (decl_type (Sized SInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_brack_dot2_1dim__) ()) UInt @@ -12342,7 +12340,7 @@ (log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -12385,7 +12383,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -12462,35 +12460,33 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable t) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (TupleProjection - ((pattern (FunApp (UserDefined foo FnPlain) ())) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (DataOnly DataOnly)))))) - 1)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) - ((pattern - (TupleProjection - ((pattern (Var ps)) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) - 2)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (TupleProjection + ((pattern (FunApp (UserDefined foo FnPlain) ())) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (DataOnly DataOnly)))))) + 1)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (TupleProjection + ((pattern (Var ps)) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) + 2)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl @@ -12516,7 +12512,7 @@ ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -12638,7 +12634,7 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -12681,7 +12677,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -12758,35 +12754,33 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable t) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (TupleProjection - ((pattern (FunApp (UserDefined foo FnPlain) ())) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (DataOnly DataOnly)))))) - 1)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) - ((pattern - (TupleProjection - ((pattern (Var ps)) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) - 2)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern SoA))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (TupleProjection + ((pattern (FunApp (UserDefined foo FnPlain) ())) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (DataOnly DataOnly)))))) + 1)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (TupleProjection + ((pattern (Var ps)) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) + 2)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern SoA))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl @@ -12812,7 +12806,7 @@ ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -12934,7 +12928,7 @@ (generate_quantities (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -12977,7 +12971,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -13054,35 +13048,33 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable t) ()) UReal - ((pattern - (FunApp - (CompilerInternal - (FnReadParam - (constrain - (LowerUpper - ((pattern - (TupleProjection - ((pattern (FunApp (UserDefined foo FnPlain) ())) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (DataOnly DataOnly)))))) - 1)) - (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) - ((pattern - (TupleProjection - ((pattern (Var ps)) - (meta - ((type_ (UTuple (UReal UReal))) (loc ) - (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) - 2)) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) - (dims ()) (mem_pattern AoS))) - ())) - (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam + (constrain + (LowerUpper + ((pattern + (TupleProjection + ((pattern (FunApp (UserDefined foo FnPlain) ())) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (DataOnly DataOnly)))))) + 1)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (TupleProjection + ((pattern (Var ps)) + (meta + ((type_ (UTuple (UReal UReal))) (loc ) + (adlevel (TupleAD (AutoDiffable AutoDiffable)))))) + 2)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (dims ()) (mem_pattern AoS))) + ())) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly (TupleAD (DataOnly DataOnly DataOnly))))) @@ -13106,7 +13098,7 @@ ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -13542,7 +13534,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -13550,7 +13542,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -13627,13 +13619,13 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id ps2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_1_flat__) ()) UReal @@ -13647,7 +13639,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ps2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_1_flat__pos__) ()) UInt @@ -13655,7 +13647,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id ps2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_2_flat__) ()) UVector @@ -13669,7 +13661,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ps2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_2_flat__pos__) ()) UInt @@ -13677,7 +13669,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ps2_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id ps2_dot_2_temp__) @@ -13686,7 +13678,7 @@ (SVector AoS ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -13739,7 +13731,7 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id ps2_dot_2_temp___flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_2_temp___flat__) ()) @@ -13953,7 +13945,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable t) ()) UReal @@ -14019,13 +14011,13 @@ ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_1_flat__) ()) UReal @@ -14040,7 +14032,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_1_flat__pos__) ()) UInt @@ -14048,7 +14040,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_1_flat__) ()) @@ -14064,7 +14056,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_2_dot_1_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_1_flat__pos__) ()) UInt @@ -14072,7 +14064,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_2_flat__) ()) @@ -14088,7 +14080,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_2_dot_2_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_2_flat__pos__) ()) UInt @@ -14096,7 +14088,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_3_flat__) - (decl_type (Unsized (UArray UReal))) (initialize true))) + (decl_type (Unsized (UArray UReal))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_3_flat__) ()) @@ -14112,7 +14104,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_2_dot_3_flat__pos__) - (decl_type (Unsized UInt)) (initialize true))) + (decl_type (Unsized UInt)) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable complicated_dot_2_dot_3_flat__pos__) ()) UInt @@ -14120,7 +14112,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_1_temp__) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly DataOnly))) @@ -14140,7 +14132,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -14179,7 +14171,7 @@ (((pattern (Decl (decl_adtype DataOnly) (decl_id complicated_dot_2_dot_1_temp__) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -14189,7 +14181,7 @@ (SVector AoS ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) @@ -14201,7 +14193,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym2__) @@ -14247,8 +14239,8 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_2_temp___flat__) - (decl_type (Unsized (UArray UReal))) - (initialize true))) + (decl_type (Unsized (UArray UReal))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -14377,8 +14369,8 @@ (((pattern (Decl (decl_adtype AutoDiffable) (decl_id complicated_dot_2_dot_3_temp___flat__) - (decl_type (Unsized (UArray UReal))) - (initialize true))) + (decl_type (Unsized (UArray UReal))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -14783,7 +14775,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -14842,7 +14834,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -14985,7 +14977,7 @@ (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable t) ()) UReal @@ -15042,7 +15034,7 @@ ((pattern (Var complicated_brack_dot2_1dim__)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -15600,7 +15592,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -15608,7 +15600,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id d) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable d) ()) 1) ()) UReal @@ -15946,7 +15938,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -15959,7 +15951,7 @@ (SArray (STuple (SReal SReal)) ((pattern (Lit Int 100)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) @@ -15980,7 +15972,7 @@ (Block (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id t) - (decl_type (Unsized (UTuple (UReal UReal)))) (initialize true))) + (decl_type (Unsized (UTuple (UReal UReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable t) ()) (UTuple (UReal UReal)) @@ -16043,7 +16035,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16063,7 +16055,7 @@ (SArray SInt ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ds) ()) 1) ()) UInt @@ -16144,7 +16136,7 @@ (log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16273,7 +16265,7 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16402,7 +16394,7 @@ (generate_quantities (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16484,7 +16476,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16492,7 +16484,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16559,7 +16551,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16623,7 +16615,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16631,7 +16623,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id x) - (decl_type (Sized (STuple (SInt SInt)))) (initialize true))) + (decl_type (Sized (STuple (SInt SInt)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable x) ()) 1) ()) UInt @@ -16669,7 +16661,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16684,7 +16676,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -16726,7 +16718,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16738,7 +16730,7 @@ (Sized (SArray (STuple (SInt SInt)) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -16784,7 +16776,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -16805,7 +16797,7 @@ ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment @@ -16851,7 +16843,7 @@ (log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16885,7 +16877,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps2) ()) 1) ()) UReal @@ -16925,7 +16917,7 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -16959,7 +16951,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps2) ()) 1) ()) UReal @@ -16999,7 +16991,7 @@ (generate_quantities (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17033,7 +17025,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps2) ()) 1) ()) UReal @@ -17175,7 +17167,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -17183,7 +17175,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17253,7 +17245,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps2) ()) 1) ()) UReal @@ -17288,7 +17280,7 @@ (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id ps2_dot_2_dot_2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable ps2_dot_2_dot_2_flat__) ()) (UArray UReal) @@ -17416,7 +17408,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17468,7 +17460,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps2) ()) 1) ()) UReal @@ -17588,7 +17580,7 @@ (log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17616,7 +17608,7 @@ (reverse_mode_log_prob (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17644,7 +17636,7 @@ (generate_quantities (((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17721,7 +17713,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -17729,7 +17721,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17792,7 +17784,7 @@ (unconstrain_array (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id ps) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable ps) ()) 1) ()) UReal @@ -17910,7 +17902,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -17922,13 +17914,13 @@ (Sized (SVector AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id V_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable V_flat__) ()) (UArray UReal) @@ -17993,7 +17985,7 @@ (SArray SInt ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable d) ()) 1) ()) (UArray UInt) @@ -18022,7 +18014,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl @@ -18043,7 +18035,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id basic) @@ -18054,7 +18046,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SComplex)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable basic) ()) (UTuple ((UArray UReal) UComplex)) @@ -18094,7 +18086,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable CV) ()) (UTuple (UComplexVector UReal)) @@ -18125,7 +18117,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable V2) ()) (UTuple (UVector UInt)) @@ -18152,7 +18144,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id t) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable t) ()) UReal @@ -18182,7 +18174,7 @@ (SArray SComplex ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d2) ()) (UTuple ((UArray UComplex) (UArray UComplex))) @@ -18206,7 +18198,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable V3) ()) (UTuple (UVector UReal)) @@ -18232,7 +18224,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arrs2) ()) (UArray (UTuple (UReal (UArray UComplex)))) @@ -18268,7 +18260,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable nested2) ()) @@ -18317,7 +18309,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable nested3) ()) @@ -18357,7 +18349,7 @@ (SArray SComplex ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable d2) ()) (UTuple ((UArray UComplex) (UArray UComplex))) @@ -18381,7 +18373,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable V3) ()) (UTuple (UVector UReal)) @@ -18407,7 +18399,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable arrs2) ()) (UArray (UTuple (UReal (UArray UComplex)))) @@ -18443,7 +18435,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable nested2) ()) @@ -18492,7 +18484,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable nested3) ()) @@ -18532,7 +18524,7 @@ (SArray SComplex ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id V3) @@ -18543,7 +18535,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id arrs2) @@ -18556,7 +18548,7 @@ ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl @@ -18577,7 +18569,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl @@ -18598,7 +18590,7 @@ ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SReal)))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (IfElse @@ -19175,7 +19167,8 @@ ((pattern (Block (((pattern (Return ())) (meta ))))) (meta )) ())) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y) ()) UInt @@ -19183,7 +19176,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id x) - (decl_type (Sized (STuple (SReal SReal)))) (initialize true))) + (decl_type (Sized (STuple (SReal SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) (UTuple (UReal UReal)) @@ -19206,7 +19199,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id z) - (decl_type (Sized (STuple (SComplex SReal)))) (initialize true))) + (decl_type (Sized (STuple (SComplex SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z) ()) (UTuple (UComplex UReal)) @@ -19223,7 +19216,7 @@ (meta )) ((pattern (Decl (decl_adtype (TupleAD (DataOnly DataOnly))) (decl_id z2) - (decl_type (Sized (STuple (SComplex SReal)))) (initialize true))) + (decl_type (Sized (STuple (SComplex SReal)))) (initialize Default))) (meta )) ((pattern (Assignment ((LVariable z2) ()) (UTuple (UComplex UReal)) @@ -19634,14 +19627,15 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -19676,13 +19670,13 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m1_flat__) ()) (UArray UReal) @@ -19771,13 +19765,13 @@ (SMatrix AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m2_flat__) ()) (UArray UReal) @@ -19859,7 +19853,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable a1) ()) (UArray UInt) @@ -19881,7 +19875,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable a2) ()) (UArray UReal) @@ -19935,7 +19929,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id s) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable s) ()) UReal @@ -20264,7 +20258,7 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -20277,13 +20271,13 @@ (SMatrix AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable x_flat__) ()) (UArray UReal) @@ -20360,7 +20354,7 @@ (Sized (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y) ()) (UArray UReal) @@ -20383,7 +20377,7 @@ (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )))) (log_prob (((pattern @@ -20393,22 +20387,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2) @@ -20417,22 +20409,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -20451,7 +20441,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp) ()) (UTuple (UMatrix UMatrix)) @@ -20509,7 +20499,7 @@ (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp2) ()) (UTuple (UMatrix UInt (UArray UReal))) @@ -20573,7 +20563,7 @@ (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp3) ()) @@ -20654,22 +20644,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2) @@ -20678,22 +20666,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -20712,7 +20698,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp) ()) (UTuple (UMatrix UMatrix)) @@ -20770,7 +20756,7 @@ (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp2) ()) (UTuple (UMatrix UInt (UArray UReal))) @@ -20834,7 +20820,7 @@ (SArray SReal ((pattern (Lit Int 10)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable temp3) ()) @@ -20915,22 +20901,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m1) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id m2) @@ -20939,22 +20923,20 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable m2) ()) UMatrix - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) - ((pattern (Lit Int 3)) - (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -20998,7 +20980,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -21011,13 +20993,13 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m1_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m1_flat__) ()) (UArray UReal) @@ -21103,13 +21085,13 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id m2_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable m2_flat__) ()) (UArray UReal) @@ -21196,7 +21178,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable m1) ()) UMatrix @@ -21221,7 +21203,7 @@ (SMatrix AoS ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable m2) ()) UMatrix @@ -21297,14 +21279,16 @@ ((pattern (Block (((pattern (Return ())) (meta ))))) (meta )) ())) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable x) ()) UInt ((pattern (Lit Int 3)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id y) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y) ()) UInt @@ -21312,7 +21296,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z) (decl_type (Sized SComplex)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id foo) @@ -21321,7 +21305,7 @@ (SMatrix AoS ((pattern (Lit Int 2)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 4)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnPrint) @@ -21498,14 +21482,15 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -21534,7 +21519,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable data_y) ()) (UArray UReal) @@ -21559,7 +21544,7 @@ (SReal (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LTupleProjection ((LVariable data_m) ()) 1) ()) UReal @@ -21585,7 +21570,7 @@ (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sum1) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sum1) ()) UReal @@ -21622,23 +21607,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable param_y) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sum2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sum2) ()) UReal @@ -21668,23 +21652,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable param_y) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id sum2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable sum2) ()) UReal @@ -21714,23 +21697,22 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable param_y) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id sum2) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -21810,7 +21792,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable param_y) ()) (UArray UReal) @@ -21836,7 +21818,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable param_y) ()) (UArray UReal) @@ -22253,7 +22235,7 @@ (SMatrix AoS ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable m) ()) UMatrix @@ -22277,7 +22259,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable t) ()) (UTuple (UReal UMatrix)) @@ -22307,7 +22289,7 @@ (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable s) ()) (UTuple (UReal UMatrix)) @@ -22467,14 +22449,15 @@ (prepare_data (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt ((pattern (Lit Int 1)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) (meta )) ((pattern - (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) (initialize true))) + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable N) ()) UInt @@ -22513,13 +22496,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id x_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable x_flat__) ()) (UArray UReal) @@ -22584,7 +22567,7 @@ (Sized (SArray SInt ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable y) ()) (UArray UInt) @@ -22615,7 +22598,7 @@ ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable td) ()) (UTuple ((UArray UInt) UVector)) @@ -22649,19 +22632,18 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) @@ -22669,19 +22651,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -22699,7 +22680,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -22715,7 +22696,7 @@ (Sized (SArray SComplex ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -22731,7 +22712,7 @@ (Sized (SComplexVector ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block @@ -22739,7 +22720,7 @@ (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple ((UArray UReal) UComplexVector)) @@ -22791,7 +22772,7 @@ (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) (UArray UComplex) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -22870,7 +22851,7 @@ (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) (UArray UComplex) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -22961,13 +22942,13 @@ ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UComplexVector UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UComplexVector UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UComplexVector UInt)) @@ -23023,19 +23004,18 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern SoA))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern SoA))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta) @@ -23043,19 +23023,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Block @@ -23073,7 +23052,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -23089,7 +23068,7 @@ (Sized (SArray SComplex ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp (CompilerInternal FnValidateSize) @@ -23105,7 +23084,7 @@ (Sized (SComplexVector ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block @@ -23113,7 +23092,7 @@ (Decl (decl_adtype (TupleAD (AutoDiffable AutoDiffable))) (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple ((UArray UReal) UComplexVector)) @@ -23165,7 +23144,7 @@ (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) (UArray UComplex) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -23244,7 +23223,7 @@ (decl_id sym1__) (decl_type (Unsized (UTuple ((UArray UReal) (UArray UComplex) UComplexVector)))) - (initialize false))) + (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) @@ -23335,13 +23314,13 @@ ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) SInt)))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype (TupleAD (AutoDiffable DataOnly))) (decl_id sym1__) - (decl_type (Unsized (UTuple (UComplexVector UInt)))) (initialize false))) + (decl_type (Unsized (UTuple (UComplexVector UInt)))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable sym1__) ()) (UTuple (UComplexVector UInt)) @@ -23397,19 +23376,18 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable alpha) ()) (UArray UReal) - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id theta) @@ -23417,19 +23395,18 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) - (meta )) - ((pattern - (Assignment ((LVariable theta) ()) UVector - ((pattern - (FunApp - (CompilerInternal - (FnReadParam (constrain Identity) - (dims - (((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) - (mem_pattern AoS))) - ())) - (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (initialize + (Assign + ((pattern + (FunApp + (CompilerInternal + (FnReadParam (constrain Identity) + (dims + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (mem_pattern AoS))) + ())) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))))) (meta )) ((pattern (NRFunApp @@ -23475,7 +23452,7 @@ (transform_inits (((pattern (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable pos__) ()) UInt @@ -23487,7 +23464,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) (UArray UReal) @@ -23512,13 +23489,13 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id theta_flat__) - (decl_type (Unsized (UArray UReal))) (initialize false))) + (decl_type (Unsized (UArray UReal))) (initialize Uninit))) (meta )) ((pattern (Assignment ((LVariable theta_flat__) ()) (UArray UReal) @@ -23587,7 +23564,7 @@ (Sized (SArray SReal ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable alpha) ()) (UArray UReal) @@ -23611,7 +23588,7 @@ (Sized (SVector AoS ((pattern (Var N)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Assignment ((LVariable theta) ()) UVector diff --git a/test/unit/Ast_to_Mir_tests.ml b/test/unit/Ast_to_Mir_tests.ml index 9d19def14..51014e344 100644 --- a/test/unit/Ast_to_Mir_tests.ml +++ b/test/unit/Ast_to_Mir_tests.ml @@ -41,7 +41,7 @@ let%expect_test "Prefix-Op-Example" = (Block (((pattern (Decl (decl_adtype AutoDiffable) (decl_id i) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (IfElse @@ -81,7 +81,7 @@ let%expect_test "read data" = (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta ))) |}] let%expect_test "read param" = @@ -103,7 +103,7 @@ let%expect_test "read param" = (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta ))) |}] let%expect_test "gen quant" = @@ -148,7 +148,7 @@ let%expect_test "gen quant" = (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -178,7 +178,7 @@ let%expect_test "read data - constraint " = (SArray SReal ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (NRFunApp @@ -215,7 +215,7 @@ let%expect_test "read data - tuple" = (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ((pattern (Lit Int 5)) (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) - (initialize true))) + (initialize Default))) (meta )) ((pattern (For (loopvar sym1__) diff --git a/test/unit/Dataflow_utils.ml b/test/unit/Dataflow_utils.ml index ae0022254..76b58025b 100644 --- a/test/unit/Dataflow_utils.ml +++ b/test/unit/Dataflow_utils.ml @@ -180,7 +180,7 @@ let%expect_test "Statement label map example" = ((1 (Block (2))) (2 (Block (3 4 5))) (3 (Decl (decl_adtype AutoDiffable) (decl_id i) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (4 (Assignment ((LVariable i) ()) UInt ((pattern (Lit Int 0)) diff --git a/test/unit/Optimize.ml b/test/unit/Optimize.ml index 11aa71b48..e6f8252c7 100644 --- a/test/unit/Optimize.ml +++ b/test/unit/Optimize.ml @@ -336,7 +336,7 @@ let%expect_test "list collapsing" = (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id inline_g_return_sym2__) - (decl_type (Sized SReal)) (initialize false))) + (decl_type (Sized SReal)) (initialize Uninit))) (meta )) ((pattern (Block @@ -3289,25 +3289,25 @@ let%expect_test "adlevel_optimization expressions" = {| (((pattern (Decl (decl_adtype AutoDiffable) (decl_id w) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Block (((pattern (Decl (decl_adtype DataOnly) (decl_id x) (decl_type (Sized SInt)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id y) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype AutoDiffable) (decl_id z) (decl_type (Sized SReal)) - (initialize true))) + (initialize Default))) (meta )) ((pattern (Decl (decl_adtype DataOnly) (decl_id z_data) - (decl_type (Sized SReal)) (initialize true))) + (decl_type (Sized SReal)) (initialize Default))) (meta )) ((pattern (IfElse