Skip to content
Snippets Groups Projects
Commit a7954f32 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bytecode DLL: provisions for Microsoft Visual C++

parent b0fef352
No related branches found
No related tags found
No related merge requests found
......@@ -652,9 +652,14 @@ Interpreter::compute_block_time(int Per_u_, bool evaluate, int block_num)
switch (op)
{
case oNormcdf:
#ifndef _MSC_VER
Stack.push(0.5*(1+erf((v1-v2)/v3/M_SQRT2)));
# ifdef DEBUG
tmp_out << " |normcdf(" << v1 << ", " << v2 << ", " << v2 << ")|";
# endif
#else
// erf() does not exist in Microsoft Visual C++
mexErrMsgTxt("bytecode: normcdf() not supported on your platform");
#endif
break;
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment