Project

General

Profile

Design #572

Split SparsePolyRing.H into two files? Problem with circular includes.

Added by John Abbott almost 10 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tidying
Target version:
Start date:
14 Jun 2014
Due date:
% Done:

0%

Estimated time:

Description

I was unable to add a JBMill field to a SparsePolyRingIdeal because of circular includes.

One solution would be to split SparsePolyRing.H into two files: one contains only the definition of the type SparsePolyRing, the other contains all the rest.

Similar splitting could be considered for other files (e.g. ring.H)

Is this a good idea?


Related issues

Related to CoCoALib - Design #1163: Split SparsePolyRing.C in smaller filesClosed2018-02-27

Related to CoCoALib - Design #1177: File names: use "SparsePolyOps" prefix for pertinent filesClosed2018-04-06

History

#1 Updated by John Abbott almost 10 years ago

  • Target version changed from CoCoALib-0.99534 Seoul14 to CoCoALib-1.0

#2 Updated by Anna Maria Bigatti about 6 years ago

  • Related to Design #1163: Split SparsePolyRing.C in smaller files added

#3 Updated by Anna Maria Bigatti almost 6 years ago

  • Subject changed from Split SparsePolyRing.H into two files? to Split SparsePolyRing.H into two files? Problem with circular includes.

#4 Updated by Anna Maria Bigatti over 5 years ago

  • Related to Design #1177: File names: use "SparsePolyOps" prefix for pertinent files added

Also available in: Atom PDF