Skip to content

Commit

Permalink
Revert "start with nonempty vec #43"
Browse files Browse the repository at this point in the history
This reverts commit 53b963b.
  • Loading branch information
adamwang15 committed Aug 10, 2024
1 parent cf6d813 commit 63385df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/restrictions_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ arma::colvec zero_restrictions(

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

vec z = ZF(0).col(0);
for (int j = 1; j < ZF.n_elem; j++) {
colvec z;
for (int j = 0; j < ZF.n_elem; j++) {
z = join_vert(z, ZF(j).col(j));
}

Expand Down

0 comments on commit 63385df

Please sign in to comment.