In calculating the profits of a trade, no deduction is allowed for royalties or other sums paid for the use of patents.