fixed RBM
git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@283 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -18,28 +18,12 @@
|
||||
*/
|
||||
|
||||
//[Headers] You can add your own extra header files here...
|
||||
#ifdef WIN32
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <iostream>
|
||||
#include <Eigen/Dense>
|
||||
//[/Headers]
|
||||
|
||||
#include "MainComponent.h"
|
||||
|
||||
|
||||
//[MiscUserDefs] You can add your own user definitions and misc code here...
|
||||
#ifdef WIN32
|
||||
void mylog(const char* format, ...)
|
||||
{
|
||||
char log_buf[257];
|
||||
va_list argptr;
|
||||
va_start(argptr, format);
|
||||
vsprintf(log_buf, format, argptr);
|
||||
va_end(argptr);
|
||||
OutputDebugStringA (log_buf);
|
||||
}
|
||||
#else
|
||||
void mylog(const char* format, ...)
|
||||
{
|
||||
char log_buf[257];
|
||||
@@ -48,7 +32,6 @@ void mylog(const char* format, ...)
|
||||
vprintf(format, argptr);
|
||||
va_end(argptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
//[/MiscUserDefs]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user