MCPcopy Create free account
hub / github.com/numpy/numpy / iscomplexfunction_warn

Function iscomplexfunction_warn

numpy/f2py/auxfuncs.py:369–380  ·  view source on GitHub ↗
(rout)

Source from the content-addressed store, hash-verified

367
368
369def iscomplexfunction_warn(rout):
370 if iscomplexfunction(rout):
371 outmess("""\
372 **************************************************************
373 Warning: code with a function returning complex value
374 may not work correctly with your Fortran compiler.
375 When using GNU gcc/g77 compilers, codes should work
376 correctly for callbacks with:
377 f2py -c -DF2PY_CB_RETURNCOMPLEX
378 **************************************************************\n""")
379 return 1
380 return 0
381
382
383def isstringfunction(rout):

Callers

nothing calls this directly

Calls 2

iscomplexfunctionFunction · 0.85
outmessFunction · 0.70

Tested by

no test coverage detected