start with complex number approximations

This commit is contained in:
Krishna Vedala 2020-04-09 10:38:11 -04:00
parent e485ad5c70
commit b31aafa4e4
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -113,8 +113,7 @@ int main(int argc, char **argv)
/* initialize root approximations with random values */
if (n < degree - 1)
{
s0[n] = get_rand(coeffs[n]);
//+get_rand(coeffs[n]) * I;
s0[n] = get_rand(coeffs[n]) + get_rand(coeffs[n]) * I;
#if defined(DEBUG) || !defined(NDEBUG)
fprintf(log_file, "root_%d,", n);
#endif