projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add openmp m4 script
[ctsim.git]
/
libctsim
/
projections.cpp
diff --git
a/libctsim/projections.cpp
b/libctsim/projections.cpp
index 5a07950300206fd3aa0061e67f708dfff618d4af..73d33b774f64f502091470805284ddd9e2b5fbce 100644
(file)
--- a/
libctsim/projections.cpp
+++ b/
libctsim/projections.cpp
@@
-91,13
+91,13
@@
Projections::convertInterpNameToID (const char* const interpName)
{
int interpID = POLAR_INTERP_INVALID;
{
int interpID = POLAR_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*
@@
-105,9
+105,9
@@
Projections::convertInterpIDToName (const int interpID)
{
static const char *interpName = "";
{
static const char *interpName = "";
- if (interpID >= 0 && interpID < s_iInterpCount)
+ if (interpID >= 0 && interpID < s_iInterpCount)
{
return (s_aszInterpName[interpID]);
return (s_aszInterpName[interpID]);
-
+ }
return (interpName);
}
return (interpName);
}
@@
-116,9
+116,9
@@
Projections::convertInterpIDToTitle (const int interpID)
{
static const char *interpTitle = "";
{
static const char *interpTitle = "";
- if (interpID >= 0 && interpID < s_iInterpCount)
+ if (interpID >= 0 && interpID < s_iInterpCount)
{
return (s_aszInterpTitle[interpID]);
return (s_aszInterpTitle[interpID]);
-
+ }
return (interpTitle);
}
return (interpTitle);
}