Fix the triple functions.
Merge pull request #212 from mondalaci/fix-example

Fix the triple functions.