Skip to content

Commit 4dfb279

Browse files
committed
src/sage/symbolic/ginac: undo libgiac integration
If this is helping us in some way, I can't figure out how.
1 parent a880b3f commit 4dfb279

File tree

9 files changed

+0
-615
lines changed

9 files changed

+0
-615
lines changed

src/sage/symbolic/ginac/basic.h

-16
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,6 @@ struct _object;
4343
typedef _object PyObject;
4444
#endif
4545

46-
#ifdef PYNAC_HAVE_LIBGIAC
47-
namespace giac
48-
{
49-
class gen;
50-
template <class T> class tensor;
51-
typedef class tensor<gen> polynome;
52-
}
53-
namespace GiNaC
54-
{
55-
struct ex_is_less;
56-
}
57-
#endif
58-
5946
namespace GiNaC {
6047

6148
class ex;
@@ -315,9 +302,6 @@ class basic : public refcounted
315302
const basic & clearflag(unsigned f) const {flags &= ~f; return *this;}
316303

317304
void ensure_if_modifiable() const;
318-
#ifdef PYNAC_HAVE_LIBGIAC
319-
const giac::polynome to_polynome(ex_int_map& map, exvector& revmap);
320-
#endif
321305

322306
// member variables
323307
tinfo_t tinfo_key; ///< type info

src/sage/symbolic/ginac/ex.h

-3
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,6 @@ class ex {
230230
ex to_rational(lst & repl_lst) const;
231231
ex to_polynomial(exmap & repl) const;
232232
ex to_polynomial(lst & repl_lst) const;
233-
#ifdef PYNAC_HAVE_LIBGIAC
234-
const giac::polynome to_polynome(ex_int_map& map, exvector& revmap) const;
235-
#endif
236233
const CanonicalForm to_canonical(ex_int_umap& map,
237234
power_ocvector_map& pomap, exvector& revmap) const;
238235
void collect_powers(power_ocvector_map& pomap) const;

0 commit comments

Comments
 (0)