M2 icon indicating copy to clipboard operation
M2 copied to clipboard

lift breaks

Open DanGrayson opened this issue 6 years ago • 1 comments
trafficstars

see https://groups.google.com/forum/#!topic/macaulay2/QowiaTEHIqo

DanGrayson avatar Jan 29 '19 19:01 DanGrayson

I see at least two separate problems. The first is that R=CC[]; lift(1_R,QQ) breaks because RR is on the R.baseRings path, not default RR (or better, the one with the precision of CC). The second is that R=RR[]; lift(1_R,QQ) fails because it calls repeatedly r = rawLift(raw B, r) for B in the reversed base ring list, but the corresponding case in ConcreteRing<RingType>::lift() in e/aring-glue.hpp isn't implemented. Instead lift(1.0, QQ) works because it's implemented directly in m2/reals.m2.

Any suggestions what the path of least resistance is? Thanks in advance!

rz137 avatar Feb 05 '19 14:02 rz137