Transferred array automatically changed?
2 Attachment(s)
Hi All
I'm experimenting with the famous fftpack, but encountered some "weird" problems (or stupid ones....) that when I transferred an array to the subroutine rfft1f.f, the array would automatically, at least in my mac, be altered in the subroutine. I attached the codes here. I made a simple makefile. Please check the main file fft_test.f and the subroutine rfft1f.f, the other files are not edited. The results I got is attached. The fftpack is downloaded from here https://www2.cisl.ucar.edu/resources.../documentation. Could anyone point out what is going on here? What could be the reason? Thanks in advance. Any comment is appreciated. jo |
Oh..sorry for bothering...I just found the error, it's the problem of the data types...
|
All times are GMT -4. The time now is 10:33. |