Skip to content

Commit

Permalink
fix blas issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Dec 28, 2023
1 parent 5f6e4ae commit d50d32a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/rbfgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ class rlbfgs {
double cost;
// constructor
rlbfgs(vec q1i, vec q2i, vec timei) {
q1 = normalise( q1i, 2 );
q2 = normalise( q2i, 2 );
time = timei;
double q1inorm = norm2(q1i);
double q2inorm = norm2(q1i);
q1 = q1i / q1inorm;
q2 = q1i / q2inorm;
time = timei;

T = timei.n_elem;
T = timei.n_elem;
}

void solve(int maxiter=30, double lam=0.0, int penalty=0){
Expand Down

0 comments on commit d50d32a

Please sign in to comment.