Stixbox & logitfit function

Hello,

The logitfit function in Stixbox needs to be corrected

  1. I corrected line 29 from
if or(abs(one-x*x\one)>0.0000000001) then

to

if or(abs(one-x.*x\one)>0.0000000001) then
  1. I corrected line 30 from
fprintf('   Intercept column added \n ');

to

mprintf('   Intercept column added \n ');
  1. Line 44 also need to be corrected
ddf = 1 ./ (g0+g1)*ones(1,nb) .* x'*x;

but I have not found the right way to correct that line

Can anyone help me?

BR

François