Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

.

Meyer__Knut_Andreas
81 Views
0 Kudos
2 Replies
Arjen_Markus
Valued Contributor III
81 Views

I may be mistaken, but the expression size(test%fun_ptr(n,x)) is unikely to succeed: you ask first to evaluate the function being pointed to by fun_ptr and then get the size of the result. So far so good, but fun_ptr is not pointing to anything, unless I am overlooking something in the code.

 

Meyer__Knut_Andreas
81 Views

Thank you for your quick reply! I need to investigate a bit further first, I just stupidly copied the example):(

I don't know how to delete the post so I made it empty... Sorry for taking your time!

//Knut

Reply