Changeset b2e2b0 in git for Singular/svd_si.h
- Timestamp:
- Jul 3, 2020, 5:03:52 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/svd_si.h
r94479b rb2e2b0 3225 3225 return; 3226 3226 } 3227 ap::ap_error::make_assertion(fromtheright && zcolumns==m || !fromtheright &&zrows==m);3227 ap::ap_error::make_assertion(fromtheright ? zcolumns==m : zrows==m); 3228 3228 3229 3229 // … … 3452 3452 return; 3453 3453 } 3454 ap::ap_error::make_assertion(fromtheright && zcolumns==n || !fromtheright &&zrows==n);3454 ap::ap_error::make_assertion(fromtheright ? zcolumns==n : zrows==n); 3455 3455 3456 3456 // … … 3860 3860 return; 3861 3861 } 3862 ap::ap_error::make_assertion(fromtheright && zcolumns==m || !fromtheright &&zrows==m);3862 ap::ap_error::make_assertion(fromtheright ? zcolumns==m : zrows==m); 3863 3863 3864 3864 // … … 4075 4075 return; 4076 4076 } 4077 ap::ap_error::make_assertion(fromtheright && zcolumns==n || !fromtheright &&zrows==n);4077 ap::ap_error::make_assertion(fromtheright ? zcolumns==n : zrows==n); 4078 4078 4079 4079 // … … 6897 6897 // First apply standard test to bottom of matrix 6898 6898 // 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) ) 6900 6900 { 6901 6901 e(m-1) = 0; … … 6937 6937 // First apply standard test to top of matrix 6938 6938 // 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) ) 6940 6940 { 6941 6941 e(ll) = 0;
Note: See TracChangeset
for help on using the changeset viewer.