added missing template argument

code now compiles, and produces correct output, I think?