Thanks for pointing this out.  I've patched the upstream CVS sources.
So the next Debian upload will fix this.

For the record, the last hunk is wrong:

> diff -urN ../tmp-orig/ginac-1.3.0/ginac/structure.h ./ginac/structure.h
> --- ../tmp-orig/ginac-1.3.0/ginac/structure.h 2004-03-15 17:29:17.000000000 
> +0100
> +++ ./ginac/structure.h       2005-03-07 12:07:21.948107894 +0100
> @@ -188,9 +188,9 @@
>       ex to_polynomial(exmap & repl) const { return 
> inherited::to_polynomial(repl); }
>
>       // polynomial algorithms
> -     numeric integer_content() const { return 1; }
> +     long integer_content() const { return 1; }
>       ex smod(const numeric & xi) const { return *this; }
> -     numeric max_coefficient() const { return 1; }
> +     long max_coefficient() const { return 1; }
>
>       // indexed objects
>       exvector get_free_indices() const { return exvector(); }

The return type of an inherited virtual function cannot easily be changed.
The problem was that the ctor of class numeric from int was not visible.

Regards
  -richy.
-- 
  .''`.  Richard B. Kreckel
 : :' :  <[EMAIL PROTECTED]>
 `. `'   <[EMAIL PROTECTED]>
   `-    <http://www.ginac.de/~kreckel/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to