GaelVaroquaux/tomo-tv — pull request #1 by AlexandreAbraham (2013-02-04 10:28:47+00:00)
Title: BUG: Fix clipping if val_min or val_max is None

In tv_denoising, if val_min or val_max is None, we still get an output full of nan. This was because "clip" was called just before returning with val_min or va_max equals to None. This PR fixes it.