[GenABEL-dev] [Genabel-commits] r664 - pkg/MixABEL/src/MXlib
William Astle
william.astle at imperial.ac.uk
Mon Feb 28 11:42:05 CET 2011
Hi All,
On 27/02/11 1
> I see a couple of changes, the first of which is
>
>> - //pchisq[it]=nulldev-ChildTwoVarCompModel.MinimiseDeviance(&altminimand);
>> + pchisq[it]=nulldev-ChildTwoVarCompModel.MinimiseDeviance(&altminimand);
>
> looks like you are removing comment to a line, which does look like
> chi-sq is computed at. So, this eventually is the fix to the problem,
> right? Looks like an easy one (when you know what to look for :) )
>
Yes this is correct.
> At other place it is not too obvious to me what has happened -- it
> looks like you changed the format, but the code itself stayed the same
> (below). Correct?
>
>> if(ppRvPx_mat[0])
>> - gsl_matrix_free(ppRvPx_mat[0]);
>> - if(ppRvPx_mat[1])
>> - gsl_matrix_free(ppRvPx_mat[1]);
>> - if(ppPVPx_mat[0])
>> - gsl_matrix_free(ppPVPx_mat[0]);
>> - if(ppPVPx_mat[1])
>> - gsl_matrix_free(ppPVPx_mat[1]);
>> - if(ppxPVPx_mat[0])
>> - gsl_matrix_free(ppxPVPx_mat[0]);
>> - if(ppxPVPx_mat[1])
>> - gsl_matrix_free(ppxPVPx_mat[1]);
>> - if(ppxPVPy_vec[0])
>> - gsl_vector_free(ppxPVPy_vec[0]);
>> - if(ppxPVPy_vec[1])
>> - gsl_vector_free(ppxPVPy_vec[1]);
>> + gsl_matrix_free(ppRvPx_mat[0]);
>> + if(ppRvPx_mat[1])
>> + gsl_matrix_free(ppRvPx_mat[1]);
>> + if(ppPVPx_mat[0])
>> + gsl_matrix_free(ppPVPx_mat[0]);
>> + if(ppPVPx_mat[1])
>> + gsl_matrix_free(ppPVPx_mat[1]);
>> + if(ppxPVPx_mat[0])
>> + gsl_matrix_free(ppxPVPx_mat[0]);
>> + if(ppxPVPx_mat[1])
>> + gsl_matrix_free(ppxPVPx_mat[1]);
>> + if(ppxPVPy_vec[0])
>> + gsl_vector_free(ppxPVPy_vec[0]);
>> + if(ppxPVPy_vec[1])
>> + gsl_vector_free(ppxPVPy_vec[1]);
>>
>> }
Yes that is right.
bw
Will
More information about the genabel-devel
mailing list