Project

General

Profile

Bug #1351

Clean up package points.cpkg

Added by John Abbott over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Cleaning
Target version:
Start date:
25 Oct 2019
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

I noticed some old code in points.cpkg which does not work in CoCoA-5.

In any case, most functions in that package are not exported.

We should clean this package up, and perhaps complete any porting to CoCoALib.

History

#1 Updated by John Abbott over 4 years ago

I was surprised by the following line in points.cpkg5

        LCM := LCM(LCM, L[J][I].Den);

Using LCM as a variable and calling it a function does not work in CoCoA-5.
Also to get the denominator of a rational we now use a proper function den(...) instead of accessing a record field.

I think it is better not to distribute old code which cannot possibly work in CoCoA-5.

Also available in: Atom PDF