Bill Allombert on Fri, 13 Dec 2019 16:44:52 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: change to qfbsolve to handle arbitrary integers


On Thu, Oct 04, 2018 at 06:56:23PM +0200, Bill Allombert wrote:
> Dear PARI developers,
> 
> I have changed qfbsolve in master so that:
> 1) it handles non prime target value
> 2) it returns all the soution under the action of SO(Q,Z).
> 
> The side effect is that this breaks backward compatibility because
> it used to return a single solution instead of a t_VEC of solutions. 

I was told that a lot of scripts required the old behavior. To avoid
breaking them, I added a flag to qfbsolve:

qfbsolve(Q,s)   -> return a single solution or [] as in 2.11.
qfbsolve(Q,s,1) -> return all the solutions as in 2.12.0

Sorry for the trouble,
Bill.