minor bug in f2c

Post here if you have a question about LAPACK or ScaLAPACK algorithm or data format

minor bug in f2c

Postby janheck » Sat May 09, 2015 1:37 pm

Perhaps not the best place to post this, but:
pow_ii.c has the following odd line (22):
return x == 0 ? 1 / x : 0;
which I changed to:
return x != 0 ? 1 / x : 0;

even although this does not appear to be a best solution either.
J.
janheck
 
Posts: 1
Joined: Sat May 09, 2015 1:32 pm

Return to Algorithm / Data

Who is online

Users browsing this forum: No registered users and 3 guests

cron