giacrossi / WenOOF

WENO interpolation Object Oriented Fortran library
3 stars 0 forks source link

src/lib/type_weno_interpolator_js.f90(206): error #6784 #8

Closed szaghi closed 7 years ago

szaghi commented 7 years ago

when you invoke a method, namely a TBP, you are implicitly passing an argument (if nopass is explicitely used), thus here https://github.com/giacombum/WenOOF/blob/master/src/lib/type_weno_interpolator_js.f90#L206 you are doing a simple error...

    call self%IS%destroy(self%IS) ! wrong
    call self%IS%destroy ! right : self%IS is passed!
giacrossi commented 7 years ago

Corrected in d09e2ea87ef560544bbe9502e563adddedb6ffcf