only:canning lambdaTable

This commit is contained in:
rusefillc 2024-06-10 18:59:08 -04:00
parent 9ea5fad023
commit 75b59281b9
1 changed files with 5 additions and 1 deletions

View File

@ -108,9 +108,13 @@ public class TableData implements CannableEntity {
@Override
public String getCsourceMethod(String reference, String methodNamePrefix) {
String scale = "";
if (tableName.equals("lambdaTable"))
scale = ", 1.0 / 14.7";
return "static void " + getCannedMethod(methodNamePrefix) + " {\n"
+ "\t" + getCsourceCode() +
"\tcopyTable(" + reference + tableName + ", " + getCannedName() + ");\n" +
"\tcopyTable(" + reference + tableName + ", " + getCannedName() + scale + ");\n" +
"}\n\n";
}