1034. If the undivided co-owners fail to agree on the share in kind or in money to be apportioned to one of them, an expert appraisal or a valuation is made by a person designated by all the undivided co-owners or, if they cannot agree among themselves, by the court.