Opened 4 years ago
#163 new defect
Convention for logical to bool can be different folowing compiler
Reported by: | ymipsl | Owned by: | ymipsl |
---|---|---|---|
Priority: | minor | Component: | XIOS |
Version: | coupling | Keywords: | |
Cc: |
Description
fortran : true == -1
C/C++ : true == 1
so, comparaison (bool_value==true) can be false if bool value is coming from fortran interface.
Interface for logical-> bool must be review
Note: See
TracTickets for help on using
tickets.