title: Method expects argument of type 'double *'?
body: <p>I'm new to python and I'm trying to write some code using python wrappers for epanet which I believe are SWIG-wrapped. There is a method I need to use, as outlined below from the source. However I can't seem to get the method to accept any type of value for the 3rd argument "values:".. Anything I try I get the error: TypeError: in method 'ptrn_set', argument 3 of type 'double *'</p>
  
  <p>How do I convert my value/values to 'double *' within Python? what is the solution?</p>
  
  <p>Thankful for any help...</p>
  
  <pre><code>    """
      ptrn_set(ph, index, values, len) -&gt; int
  
      Parameters
      ----------
      ph: Handle
      index: int
      values: double *
      len: int
  
      """
      return _toolkit.ptrn_set(ph, index, values, len)
  </code></pre>