Increase size of buffer
This commit is contained in:
parent
5c9525c0c5
commit
d33576b2df
@ -98,8 +98,11 @@ int createFormula(RawFormulaData &fd, char *formulaBuffer,
|
|||||||
|
|
||||||
// If the deviation is more than 2 degress we mark it as failed.
|
// If the deviation is more than 2 degress we mark it as failed.
|
||||||
if (dev * 1000 > myAdvancedConfig.getMaxFormulaCreationDeviation()) {
|
if (dev * 1000 > myAdvancedConfig.getMaxFormulaCreationDeviation()) {
|
||||||
char s[60];
|
char s[120];
|
||||||
snprintf(&s[0], sizeof(s), "CALC: Validation failed on angle %f, deviation too large %.8f", fd.a[i], dev);
|
snprintf(
|
||||||
|
&s[0], sizeof(s),
|
||||||
|
"CALC: Validation failed on angle %f, deviation too large %.8f",
|
||||||
|
fd.a[i], dev);
|
||||||
ErrorFileLog errLog;
|
ErrorFileLog errLog;
|
||||||
errLog.addEntry(&s[0]);
|
errLog.addEntry(&s[0]);
|
||||||
valid = false;
|
valid = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user