product:: no crash on load when saved

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:14 +02:00
1 parent 1778fd5d8e
commit 0811f8f2d0
2 files changed
+2

No files matched your search

+1
View File
@@ -1387,6 +1387,7 @@ EX void initgraph() {
loadConfig();
#endif
arcm::current.parse();
if(geometry == gProduct) geometry = product::underlying;
#if CAP_COMMANDLINE
arg::read(2);
+1
View File
@@ -511,6 +511,7 @@ EX void initConfig() {
addsaver(models::use_atan, "use_atan");
addsaver(arcm::current.symbol, "arcm-symbol", "4^5");
addsaverenum(product::underlying, "product-underlying");
for(int i=0; i<isize(ginf); i++) {
if(ginf[i].flags & qELLIPTIC)