Recent content by harish88

  1. H

    Fortran Fortran function calling with wrong arguments

    Thank you. That's clearly what is happening there.
  2. H

    Fortran Fortran function calling with wrong arguments

    While w is an array, I believe v(kp) will be a particular value at the kp index location, isn't it ? So we are essentially calling the function with an array w and a scalar value from a specific location in the v array.
  3. H

    Fortran Fortran function calling with wrong arguments

    I have a program I am trying to understand. According to the function definition(vdot), the function acccepts arrays as inputs. But the function is called with a scalar input and it works just fine. Shouldnt it throw an error ? w and v are arrays of different sizes. ms is a scalar constant...
Back
Top