multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Fortran documentation mentions as_string #228

Closed LourensVeen closed 1 year ago

LourensVeen commented 1 year ago

https://muscle3.readthedocs.io/en/latest/fortran.html#describing-fortran-implementations

In the reference box, it says

    if (LIBMUSCLE_DataConstRef_is_a_character(d9j))
        s = LIBMUSCLE_DataConstRef_as_string(d9j)

which should be LIBMUSCLE_DataConstRef_as_character of course.

Thanks to Severin for reporting!

LourensVeen commented 1 year ago

LIBMUSCLE_as_int8 is also wrong, and should be fixed.

LourensVeen commented 1 year ago

Released with 0.7.0.