only:canning lambdaTable
This commit is contained in:
parent
9ea5fad023
commit
75b59281b9
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue