1037. Indivision ends by the partition or alienation of the property.
In the case of partition, the provisions relating to the partition of successions apply, adapted as required.
However, the act of partition which terminates indivision, other than indivision by succession, is an act of attribution of the right of ownership.