Skip to Content.
Sympa Menu

mathemagix-devel - [Mathemagix] Warning in basix.

Subject: Mathemagix

List archive

[Mathemagix] Warning in basix.


Chronological Thread 
  • From: Bernard Mourrain <address@concealed>
  • To: address@concealed
  • Subject: [Mathemagix] Warning in basix.
  • Date: Fri, 23 Apr 2010 11:52:50 +0200

A hugly warning in basix:

/home/mourrain/mmx/basix/src/fast_new.cpp: In function ‘void* mmx::safe_malloc(size_t)’:
/home/mourrain/mmx/basix/src/fast_new.cpp:40: warning: division by zero


fprintf (stderr, "Fatal error: out of memory\n");
mmout << 1/(int) 0 << "\n";

No nicer way to indicate an error ?

B.



Archive powered by MHonArc 2.6.18.

Top of Page