I got problems compiling upfirdn.cc with MSVC, around line 93:

int Ly= ceil( ((Lx-1)*p + Lh)/q );

The problem is that MSVC defines several versions of ceil, with
different argument type: double, long double and int. But MSVC
cannot determine the one to use with the above statement
(note: all variables are int).

I changed it into:

int Ly= ceil( ((Lx-1)*p + Lh)/((double) q) );

but I'm not sure what is the expected behavior. Can someone
help me?

Michael.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to