torch/torch7-distro — pull request #201 by jonathantompson (2013-11-18 17:49:13+00:00)
Title: fixed PairwiseDistance type() function bug.  Overloaded type now returns self.

This is an embarrassing one...

As per the behavior of Module:type(), the PairwiseDistance:type() also needs to return self.

This was also mentioned in pull request #183 (the bug was found after merging).

Sorry guys!