Skip to content

Commit

Permalink
transpose fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Schmelzer committed Oct 23, 2023
1 parent 97601aa commit 163c2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/taming.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def unconstrained_markowitz(inputs: OptimizationInput) -> np.ndarray:

chol = np.transpose(np.linalg.cholesky(Sigma))
# chol should now be an upper triangular matrix

constraints = [
cp.sum(w) + c == 1,
cp.norm2(chol @ w) <= inputs.risk_target,
Expand Down

0 comments on commit 163c2da

Please sign in to comment.