Hello, I have added GSL_MOVSTAT_END_CIRCULAR to ./movstat/gsl_movstat.h typedef enum { GSL_MOVSTAT_END_PADZERO, GSL_MOVSTAT_END_PADVALUE, GSL_MOVSTAT_END_TRUNCATE, GSL_MOVSTAT_END_CIRCULAR <-- new } gsl_movstat_end_t; and ./filter/gsl_filter.h typedef enum { GSL_FILTER_END_PADZERO = GSL_MOVSTAT_END_PADZERO, GSL_FILTER_END_PADVALUE = GSL_MOVSTAT_END_PADVALUE, GSL_FILTER_END_TRUNCATE = GSL_MOVSTAT_END_TRUNCATE, GSL_FILTER_END_CIRCULAR = GSL_MOVSTAT_END_CIRCULAR } gsl_filter_end_t; I changed ./movstat/apply.c ./movstat/fill.c for the case that the value with index (n-1) is a neighbour of the value with index 0. Can I send this modified files to someone? Greetings, Jaochim