-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
precision consistency: Bug with when homogenizing the variables #154
Comments
this is part of a larger conversation about precision.
though, i do agree that there is a problem here. i'll check it out. |
indeed, i have replicated the problem on my machine. |
the precision of the system is drifting from the default precision... |
so, while the tracker does indeed change the precision of the homotopy (the system that it is tracking, which must have a path variable), the tracker does NOT adjust the precision of the total degree start system. hence, the the solution: change the default precision back to the desired ambient precision, along with the start system. things should be good from there. |
here's a file that worked for me:
i renamed |
this is a battle i fight in bertini_real, too. precision of variable-precision objects is a real PITA to maintain synchronicity for. |
jeb, you have any thoughts on how to resolve this? probably the best solution is to make start systems automatically change their precision to match default when making a start point. |
That sounds good. Is this a problem that occurs in the core code as well, or is it simply python? Also, is the precision kept synchronous in the blackbox code? That is, is this problem occurring simply because we're trying to write quick and dirty blackbox code without really thinking about it? |
the core should suffer from this, too. i think that the solution is to make start systems automatically adjust the precision to match default when a start point is requested. however, with all things multiprecision, the burden tends to be on the user to ensure that they are working at the desired precision at the desired time. another note, however. the implementation of zerodim DOES automatically adjust precision of things as it should. we need to write the python bindings soon to eliminate this boilerplate code. |
Yeah I think the best solution is to get blackbox up and running in
Python. But I'm thinking there should also be some medium ground for
python, a greybox, where the user has control over tracking and endgame,
like in this boilerplate code, but doesn't have to worry about precision
change problems like this. Don't know exactly what this should look like,
but its a thought to think on.
…On Tue, Jun 26, 2018 at 2:26 PM danielle brake ***@***.***> wrote:
the core should suffer from this, too. i think that the solution is to
make start systems automatically adjust the precision to match default when
a start point is requested. however, with all things multiprecision, the
burden tends to be on the user to ensure that they are working at the
desired precision at the desired time. another note, however. the
implementation of zerodim DOES automatically adjust precision of things as
it should. we need to write the python bindings soon to eliminate this
boilerplate code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#154 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF3KK1h0yylpGPEptOmIuRVFwnMKq1-uks5uAny7gaJpZM4Urw_1>
.
--
University of Mary Washington
Department of Mathematics
Trinkle Hall B41
|
that part is already implemented, it just needs to be exposed. i am struggling with how to deal with the explosion of combinations of tracker and endgame types in exposing the zerodim, tho. it means exposing at least 6 versions. maybe this is good though. the tracker and endgame are chosen as you select the particular version of the zerodim you are using. this is a high priority. |
There is a bug when running the following code in IPython:
When this code is run in
python3
, the following error occurs,If the lines
are commented out, then no error occurs.
The text was updated successfully, but these errors were encountered: