mirror of
https://github.com/paboyle/Grid.git
synced 2026-05-22 18:14:17 +01:00
added inline to rf functions
This commit is contained in:
@@ -45,7 +45,7 @@ enum RitzFilter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** Selects the RitzFilter corresponding to the input string. */
|
/** Selects the RitzFilter corresponding to the input string. */
|
||||||
RitzFilter selectRitzFilter(std::string s) {
|
inline RitzFilter selectRitzFilter(std::string s) {
|
||||||
if (s == "EvalNormSmall") { return EvalNormSmall; } else
|
if (s == "EvalNormSmall") { return EvalNormSmall; } else
|
||||||
if (s == "EvalNormLarge") { return EvalNormLarge; } else
|
if (s == "EvalNormLarge") { return EvalNormLarge; } else
|
||||||
if (s == "EvalReSmall") { return EvalReSmall; } else
|
if (s == "EvalReSmall") { return EvalReSmall; } else
|
||||||
@@ -56,7 +56,7 @@ RitzFilter selectRitzFilter(std::string s) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Returns a string saying which RitzFilter it is. */
|
/** Returns a string saying which RitzFilter it is. */
|
||||||
std::string rfToString(RitzFilter RF) {
|
inline std::string rfToString(RitzFilter RF) {
|
||||||
switch (RF) {
|
switch (RF) {
|
||||||
case EvalNormSmall:
|
case EvalNormSmall:
|
||||||
return "EvalNormSmall";
|
return "EvalNormSmall";
|
||||||
|
|||||||
Reference in New Issue
Block a user