Skip to content

Commit

Permalink
Add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jan 27, 2023
1 parent 1c5a68d commit 6208d92
Show file tree
Hide file tree
Showing 4 changed files with 1,100 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
data {
int<lower=0> N;
}
parameters {
matrix[N,N] X;
}

model {
row_vector[N] vec;

profile ("test") {
row_vector[N] vec2 = columns_dot_self(X);
vec = vec2;
}

target += sum(vec);

row_vector[N] vec3;
{
row_vector[N] vec4 = columns_dot_self(X);
vec3 = vec4;
}

target += sum(vec3);

}
Loading

0 comments on commit 6208d92

Please sign in to comment.