Changeset 917287 in git


Ignore:
Timestamp:
Feb 6, 2017, 12:02:27 PM (7 years ago)
Author:
Janko Boehm <boehm@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
aafc931bc91661f27f2b47edfb2d77d93d3df9d0
Parents:
5a87b3ed87cef22b87ffd49edbc7b864af0582d8
git-author:
Janko Boehm <boehm@mathematik.uni-kl.de>2017-02-06 12:02:27+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2017-06-08 18:10:27+02:00
Message:
changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gitfan.lib

    r5a87b3 r917287  
    9595proc printPermutation(permutation sigma)
    9696{
    97 intvec v = permutationToIntvec(sigma);
    98 string vsrc,vimg;
    99 for (int i = 1; i<=size(v);i++){
     97 intvec v = permutationToIntvec(sigma);
     98 string vsrc,vimg;
     99 for (int i = 1; i<=size(v);i++){
    100100   vsrc=vsrc+emptyString(1+size(string(size(v)))-size(string(i)))+string(i);
    101 }
    102 for (i = 1; i<=size(v);i++){
     101 }
     102 for (i = 1; i<=size(v);i++){
    103103   vimg=vimg+emptyString(1+size(string(size(v)))-size(string(v[i])))+string(v[i]);
    104 }
    105 print("|"+vsrc+"|");
    106 print("|"+vimg+"|");
     104 }
     105 print("|"+vsrc+"|");
     106 print("|"+vimg+"|");
    107107}
    108108
Note: See TracChangeset for help on using the changeset viewer.