From 24792913ca894aa6799ebaa01728eb0f91f225b5 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 9 Oct 2024 21:27:07 -0400 Subject: [PATCH] - don't spam the console log if there's math errors - mostly affects Linux/MacOS because there is no distinction from console apps or GUI apps so they put all the data in the console which can cause lag --- src/common/thirdparty/math/mtherr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/thirdparty/math/mtherr.c b/src/common/thirdparty/math/mtherr.c index 3f24da2b7c..814383e23f 100644 --- a/src/common/thirdparty/math/mtherr.c +++ b/src/common/thirdparty/math/mtherr.c @@ -106,7 +106,7 @@ int mtherr(char* name, int code) * which is supposed to be the name of the * function in which the error occurred: */ -printf( "\n%s ", name ); +//printf( "\n%s ", name ); /* Set global error message word */ merror = code; @@ -116,7 +116,7 @@ merror = code; */ if( (code <= 0) || (code >= 7) ) code = 0; -printf( "%s error\n", ermsg[code] ); +//printf( "%s error\n", ermsg[code] ); /* Return to calling * program