gauden_invert_variance_full(gauden_t*g){uint32i,j,k;for(i=0;i<g->n_mgau;i++){for(j=0;j<g->n_feat;j++){for(k=0;k<g->n_density;k++){/* Yes, this works in-place (we hope) */if(invert(g->fullvar[i][j][k],g->fullvar[i][j][k],g->veclen[j])!=S3_SUCCESS){~~~~~~~~~~wheremethodinverthas2thesameparametersg->fullvar[i][j][k].Andinfilematrix.cisfunction:
This is a bug indeed which appeared during sphinxtrain refactoring when invert funciton from sphinxtrain was replaced by sphinxbase. I fixed it in trunk, thank you very much for report!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have yet to find one small mistake.
In file s3acc_io.c (sphinxtrain-5prealpha-win32), in function rdacc_den_full, should be exclamation mark before ck_readable method:
int
rdacc_den_full(...)
{
...
sprintf(fn, "%s/gauden_counts", dir);
if (!ck_readable(fn)) {
//^
E_ERROR("Unable to access %s\n", fn);
return S3_ERROR;
}
Last edit: Marcin Plonkowski 2015-11-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In file gauden.c is function:
invert(float32 ** ainv, float32 ** a, int32 n)
{
char uplo;
float32 **tmp_a;
int32 info, nrhs, i;
~~~~~~~~~~
This causes, that method invert calculate inversion of identity matrix, instead of inversion of g->fullvar[i][j][k].
Has anyone seen this error?
Last edit: Nickolay V. Shmyrev 2015-11-01
This is a bug indeed which appeared during sphinxtrain refactoring when invert funciton from sphinxtrain was replaced by sphinxbase. I fixed it in trunk, thank you very much for report!
Thank you.
I have yet to find one small mistake.
In file s3acc_io.c (sphinxtrain-5prealpha-win32), in function rdacc_den_full, should be exclamation mark before ck_readable method:
int
rdacc_den_full(...)
{
...
sprintf(fn, "%s/gauden_counts", dir);
Last edit: Marcin Plonkowski 2015-11-02
Thanks, we fixed this in sources quite some time ago, I probably need to update win32 package, it is slightly outdated.