fix a bug in extended_uniform_source_amp

This time it was not my fault :-)