[asl] 22/33: Fixing tautology

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu May 5 18:40:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository asl.

commit 2fd884604e99549160464feec8b3d472ebc3a343
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date:   Tue Jan 26 11:15:43 2016 +0200

    Fixing tautology
---
 src/acl/aclMath/aclMatrixOfElements.cxx | 2 +-
 src/math/aslMatrices.cxx                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/acl/aclMath/aclMatrixOfElements.cxx b/src/acl/aclMath/aclMatrixOfElements.cxx
index ff2358c..931d692 100644
--- a/src/acl/aclMath/aclMatrixOfElements.cxx
+++ b/src/acl/aclMath/aclMatrixOfElements.cxx
@@ -322,7 +322,7 @@ namespace acl
 
 		unsigned int k(0);
 		for(unsigned int i(1); i<n; ++i)
-			for(unsigned int j(1); i<=i; ++j)
+			for(unsigned int j(1); j<=i; ++j)
 			{
 				v[k]=a.getElement(i,j);
 				++k;
diff --git a/src/math/aslMatrices.cxx b/src/math/aslMatrices.cxx
index 8ae05ce..6bc7587 100644
--- a/src/math/aslMatrices.cxx
+++ b/src/math/aslMatrices.cxx
@@ -281,7 +281,7 @@ namespace asl
 
 		unsigned int k(0);
 		for(unsigned int i(1); i<n; ++i)
-			for(unsigned int j(1); i<=i; ++j)
+			for(unsigned int j(1); j<=i; ++j)
 			{
 				v[k]=a.getElement(i,j);
 				++k;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git



More information about the debian-science-commits mailing list