Skip to content

Commit

Permalink
- don't spam the console log if there's math errors - mostly affects …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
madame-rachelle committed Oct 10, 2024
1 parent 0347d0d commit 8bc2196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/common/thirdparty/math/mtherr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 8bc2196

Please sign in to comment.