1
0
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:
Patrick Oare
2025-09-10 17:16:48 -04:00
parent 597086a031
commit 82d411ca7b
+2 -2
View File
@@ -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";