Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

.

Meyer__Knut_Andreas
320 Views
0 Kudos
2 Replies
Arjen_Markus
Honored Contributor I
320 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.

 

0 Kudos
Meyer__Knut_Andreas
320 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

0 Kudos
Reply