Changeset b2e2b0 in git for Singular/svd_si.h


Ignore:
Timestamp:
Jul 3, 2020, 5:03:52 PM (4 years ago)
Author:
Max Horn <max@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
d0adb23686023dffa37da6380408f9f10d314ae4
Parents:
94479b06ea30b1f20ba9a730ece0083db571e984
git-author:
Max Horn <max@quendi.de>2020-07-03 17:03:52+02:00
git-committer:
Max Horn <max@quendi.de>2020-07-07 09:42:17+02:00
Message:
Fix a bunch of warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/svd_si.h

    r94479b rb2e2b0  
    32253225            return;
    32263226        }
    3227         ap::ap_error::make_assertion(fromtheright && zcolumns==m || !fromtheright && zrows==m);
     3227        ap::ap_error::make_assertion(fromtheright ? zcolumns==m : zrows==m);
    32283228
    32293229        //
     
    34523452            return;
    34533453        }
    3454         ap::ap_error::make_assertion(fromtheright && zcolumns==n || !fromtheright && zrows==n);
     3454        ap::ap_error::make_assertion(fromtheright ? zcolumns==n : zrows==n);
    34553455
    34563456        //
     
    38603860            return;
    38613861        }
    3862         ap::ap_error::make_assertion(fromtheright && zcolumns==m || !fromtheright && zrows==m);
     3862        ap::ap_error::make_assertion(fromtheright ? zcolumns==m : zrows==m);
    38633863
    38643864        //
     
    40754075            return;
    40764076        }
    4077         ap::ap_error::make_assertion(fromtheright && zcolumns==n || !fromtheright && zrows==n);
     4077        ap::ap_error::make_assertion(fromtheright ? zcolumns==n : zrows==n);
    40784078
    40794079        //
     
    68976897                // First apply standard test to bottom of matrix
    68986898                //
    6899                 if( amp::abs<Precision>(e(m-1))<=amp::abs<Precision>(tol)*amp::abs<Precision>(d(m)) || tol<0 && amp::abs<Precision>(e(m-1))<=thresh )
     6899                if( amp::abs<Precision>(e(m-1))<=amp::abs<Precision>(tol)*amp::abs<Precision>(d(m)) || (tol<0 && amp::abs<Precision>(e(m-1))<=thresh) )
    69006900                {
    69016901                    e(m-1) = 0;
     
    69376937                // First apply standard test to top of matrix
    69386938                //
    6939                 if( amp::abs<Precision>(e(ll))<=amp::abs<Precision>(tol)*amp::abs<Precision>(d(ll)) || tol<0 && amp::abs<Precision>(e(ll))<=thresh )
     6939                if( amp::abs<Precision>(e(ll))<=amp::abs<Precision>(tol)*amp::abs<Precision>(d(ll)) || (tol<0 && amp::abs<Precision>(e(ll))<=thresh) )
    69406940                {
    69416941                    e(ll) = 0;
Note: See TracChangeset for help on using the changeset viewer.