Skip to content
Snippets Groups Projects
Commit 28bb17ca authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Merge commit '399663be'


* commit '399663be':
  lls: mark max_order as unsigned short

Merged-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parents 76f8d3c8 399663be
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ void avpriv_update_lls(LLSModel *m, double *var, double decay) ...@@ -48,7 +48,7 @@ void avpriv_update_lls(LLSModel *m, double *var, double decay)
} }
} }
void avpriv_solve_lls(LLSModel *m, double threshold, int min_order) void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order)
{ {
int i, j, k; int i, j, k;
double (*factor)[MAX_VARS + 1] = (void *) &m->covariance[1][0]; double (*factor)[MAX_VARS + 1] = (void *) &m->covariance[1][0];
......
...@@ -39,7 +39,7 @@ typedef struct LLSModel { ...@@ -39,7 +39,7 @@ typedef struct LLSModel {
void avpriv_init_lls(LLSModel *m, int indep_count); void avpriv_init_lls(LLSModel *m, int indep_count);
void avpriv_update_lls(LLSModel *m, double *param, double decay); void avpriv_update_lls(LLSModel *m, double *param, double decay);
void avpriv_solve_lls(LLSModel *m, double threshold, int min_order); void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order);
double avpriv_evaluate_lls(LLSModel *m, double *param, int order); double avpriv_evaluate_lls(LLSModel *m, double *param, int order);
#ifndef FF_API_LLS_PRIVATE #ifndef FF_API_LLS_PRIVATE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment