Thread: Error in a line

  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Rep Power

    Error in a line

    Hi people. I have en error translating a function from Matlab to C/C++ :
    radius(floor(rows/2+1),floor(cols/2+1)) = 1;
     % Get rid of the 0 radius value at the 0
     % frequency point (now at top-left corner)
     % so that taking the log of the radius will 
     % not cause trouble.
    What I did is:


    I m sure it s there the problem, because before this line I can print what I want and I can see it at run-time, but after this line I can not print nothing and the work is like blocked. Do you know the error?

    Comments on this post

    • salem disagrees : unrepentant cross-poster
    Last edited by residentelvio; July 1st, 2013 at 12:44 PM.

IMN logo majestic logo threadwatch logo seochat tools logo