Changeset b00d85 in git


Ignore:
Timestamp:
Nov 24, 2020, 4:44:33 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
65141f4ecb27cfabcfe964ebd0cce65546c4966f
Parents:
5fb661f6622757e3ce9f42e19bf763173aa74518
Message:
parallel farey in ncModslimgb.lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/ncModslimgb.lib

    r5fb661 rb00d85  
    177177
    178178    //Lifting of results to Rationals via Farey map
    179     //sequential lifting
    180      if(ncores == 1)
    181      {
    182        J = farey(H,N);
    183      }
    184     //parallel lifting
    185     else
    186     {
    187       for(i = size(H); i > 0; i--)
    188       {
    189         arguments_farey[i] = list(ideal(H[i]), N);
    190       }
    191       results_farey = parallelWaitAll("farey", arguments_farey, 0, ncores);
    192       for(i = size(H); i > 0; i--)
    193       {
    194         J[i] = results_farey[i][1];
    195       }
    196     }
     179    J = farey(H,N);
    197180
    198181    //Verification steps
Note: See TracChangeset for help on using the changeset viewer.