projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to wx3.0, add SSE optimizations based on target_cpu, fix compile warnings
[ctsim.git]
/
libctsim
/
backprojectors.cpp
diff --git
a/libctsim/backprojectors.cpp
b/libctsim/backprojectors.cpp
index b492861cbbcad6a5cbcdcb0a22e238a34cbeb2e9..49e3a217bc8a63cb4fd065fd96d22a224292d114 100644
(file)
--- a/
libctsim/backprojectors.cpp
+++ b/
libctsim/backprojectors.cpp
@@
-185,13
+185,13
@@
Backprojector::convertBackprojectNameToID (const char* const backprojName)
{
int backprojID = BPROJ_INVALID;
{
int backprojID = BPROJ_INVALID;
- for (int i = 0; i < s_iBackprojectCount; i++)
+ for (int i = 0; i < s_iBackprojectCount; i++)
{
if (strcasecmp (backprojName, s_aszBackprojectName[i]) == 0) {
backprojID = i;
break;
}
if (strcasecmp (backprojName, s_aszBackprojectName[i]) == 0) {
backprojID = i;
break;
}
-
-
return (backprojID);
+ }
+ return (backprojID);
}
const char*
}
const char*
@@
-222,13
+222,13
@@
Backprojector::convertInterpNameToID (const char* const interpName)
{
int interpID = INTERP_INVALID;
{
int interpID = INTERP_INVALID;
- for (int i = 0; i < s_iInterpCount; i++)
+ for (int i = 0; i < s_iInterpCount; i++)
{
if (strcasecmp (interpName, s_aszInterpName[i]) == 0) {
interpID = i;
break;
}
if (strcasecmp (interpName, s_aszInterpName[i]) == 0) {
interpID = i;
break;
}
-
-
return (interpID);
+ }
+ return (interpID);
}
const char*
}
const char*