Ticket #13731: singular_part_of_changeset_baadc0f7.patch

File singular_part_of_changeset_baadc0f7.patch, 645 bytes (added by SimonKing, 7 years ago)

Backporting a small part of Singular changeset baadc0f7

  • factory/facFactorize.cc

    # HG changeset patch
    # User Simon King <simon.king@uni-jena.de>
    # Date 1354202289 -3600
    # Node ID 88cfad9e089148694276da1d8a605bf4ee015054
    # Parent  ace49ff24a907b119b4aa274ab81a5abc8313825
    See Sage ticket #13731, Singular ticket 463: Fix out-of-bound error in facFactorize.cc
    
    diff --git a/factory/facFactorize.cc b/factory/facFactorize.cc
    a b  
    705705
    706706    evaluationWRTDifferentSecondVars (bufAeval2, bufEvaluation, A);
    707707
    708     for (int j= 0; j < A.level() - 1; j++)
     708    for (int j= 0; j < A.level() - 2; j++)
    709709    {
    710710      if (!bufAeval2[j].isEmpty())
    711711        counter++;