Assert in wave.c

I am getting the following Assert error.

***ASSERTION failed on line 213 of file wave.c: fabs(ssum(nparts, tmpvec)) < .0001.

Valgrind reports that the sum is evaluated with an uninitialised variable.
I am calling from a Fortran code, and am using version 3.1.1. Any help would be appreciated.

RE: This has been fixed in the

This has been fixed in the 3.2.0.

George