Skip to content

Commit

Permalink
new object for vec(A0) #43
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwang15 committed Aug 9, 2024
1 parent a2c55e1 commit a7223be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/restrictions_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ arma::colvec zero_restrictions(
const arma::colvec vec_structural
) {
int N = Z(0).n_cols;
mat A0 = reshape(vec_structural.rows(0, N*N-1), N, N);

mat A0 = vec_structural.rows(0, N * N - 1);
A0 = reshape(A0, N, N);

arma::field<arma::mat> ZF = ZIRF(Z, inv(A0.t()));

Expand Down

0 comments on commit a7223be

Please sign in to comment.