Section 19. Damages in replevin shall be assessed by the jury by which the cause is tried, if there is a trial by jury; otherwise, by the court or by a jury impanelled therefor.