aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gensvm_grid.c2
-rw-r--r--src/gensvm_optimize.c9
2 files changed, 3 insertions, 8 deletions
diff --git a/src/gensvm_grid.c b/src/gensvm_grid.c
index ea25b89..f258a93 100644
--- a/src/gensvm_grid.c
+++ b/src/gensvm_grid.c
@@ -1,7 +1,7 @@
/**
* @file gensvm_grid.c
* @author Gertjan van den Burg
- * @date Mayy, 2016
+ * @date May, 2016
* @brief Functions for initializing GenGrid structures
*
* @details
diff --git a/src/gensvm_optimize.c b/src/gensvm_optimize.c
index 090d356..1022ed4 100644
--- a/src/gensvm_optimize.c
+++ b/src/gensvm_optimize.c
@@ -369,9 +369,9 @@ double gensvm_get_alpha_beta(struct GenModel *model, struct GenData *data,
gensvm_calculate_ab_non_simple(model, i, j, &a, &b_aq);
}
- // daxpy on Brow and UU
+ // daxpy on beta and UU
// daxpy does: y = a*x + y
- // so y = Brow, UU_row = x, a = factor
+ // so y = beta, UU_row = x, a = factor
b_aq *= model->rho[i] * omega * in;
uu_row = &model->UU[((data->y[i]-1)*K+j)*(K-1)];
cblas_daxpy(K-1, b_aq, uu_row, 1, beta, 1);
@@ -436,11 +436,6 @@ double gensvm_get_alpha_beta(struct GenModel *model, struct GenData *data,
*
* @param [in,out] model model to be updated
* @param [in] data data used in model
- * @param [in] B pre-allocated matrix used for linear
- * coefficients
- * @param [in] ZAZ pre-allocated matrix used in system
- * @param [in] ZAZV pre-allocated matrix used in system solving
- * @param [in] ZAZVT pre-allocated matrix used in system solving
*/
void gensvm_get_update(struct GenModel *model, struct GenData *data)
{