[asl] 164/177: Cosmetic fixes

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:52 UTC 2015


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

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

commit a14703fa5e4ec933248a5b9ed17ca719570ba6e5
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date:   Mon Aug 17 01:45:57 2015 +0300

    Cosmetic fixes
---
 README.md                            | 2 +-
 src/acl/aclHardware.cxx              | 5 ++---
 src/utilities/aslParametersManager.h | 4 +---
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 7a5f19e..6afcd25 100644
--- a/README.md
+++ b/README.md
@@ -54,4 +54,4 @@ find_package(ASL 0.1.4 CONFIG REQUIRED)
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 add_executable(locomotive locomotive.cc)
 target_link_libraries(locomotive PRIVATE ASL::aslnum ASL::aslvtk ASL::asl)
-```
+```
\ No newline at end of file
diff --git a/src/acl/aclHardware.cxx b/src/acl/aclHardware.cxx
index 19edc47..5ecc330 100644
--- a/src/acl/aclHardware.cxx
+++ b/src/acl/aclHardware.cxx
@@ -24,7 +24,6 @@
 #include "aclHardware.h"
 #include "../aslUtilities.h"
 #include "Kernels/aclKernel.h"
-#include "../utilities/aslParametersManager.h"
 #include <fstream>
 
 
@@ -40,10 +39,10 @@ namespace acl
 
 	// order of elements in TYPE and TYPE_SIZE
 	// has to correspond to the order of elements of TypeID
-	// dot't change strings to "cl_..."
+	// don't change strings to "cl_..."!!!
 	const vector<string> TYPE({"int", "uint", "float", "double", "long"});
 	const vector<unsigned char> TYPE_SIZE({sizeof(cl_int), sizeof(cl_uint), sizeof(cl_float), sizeof(cl_double), sizeof(cl_long)});
-	const vector<TypeID> TYPE_SELECT({TYPE_INT, 	TYPE_INT, TYPE_INT, TYPE_LONG, TYPE_LONG});
+	const vector<TypeID> TYPE_SELECT({TYPE_INT, TYPE_INT, TYPE_INT, TYPE_LONG, TYPE_LONG});
 
 	Hardware hardware;
 
diff --git a/src/utilities/aslParametersManager.h b/src/utilities/aslParametersManager.h
index b115cfb..407843b 100644
--- a/src/utilities/aslParametersManager.h
+++ b/src/utilities/aslParametersManager.h
@@ -191,6 +191,4 @@ namespace asl
 	}
 	
 } //namespace asl
-
-
-#endif // ASLPARAMETERSMANAGER_H
\ No newline at end of file
+#endif // ASLPARAMETERSMANAGER_H

-- 
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