- Timestamp:
- Jan 10, 2022, 6:06:25 PM (2 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 676e2a091749a42bee06cf6f1c818c7058262096
- Parents:
- 5c29ad95d24d1484c07c51e546825480eccc41b0
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/machinelearning/machinelearning.cc
r5c29ad r78a9c9 6 6 #include "Singular/ipid.h" 7 7 #include "Singular/mod_lib.h" 8 #include "kernel/oswrapper/feread.h" 8 9 9 10 #ifdef HAVE_PYTHON … … 16 17 int lengths[5]; 17 18 char *filename = getenv("SINGULARHIST"); 18 if (filename==NULL) filename=(char*)"~/.history";19 if (filename==NULL) filename=SINGULARHIST_FILE; 19 20 int i; 20 21 lists L = (lists)omAllocBin(slists_bin); … … 40 41 #ifdef HAVE_OMALLOC 41 42 ml_make_prediction(filename, buffer, lengths, _omStrDup); 42 43 #else /*xalloc*/ 43 44 ml_make_prediction(filename, buffer, lengths, omStrDup); 44 45 #endif 45 46 46 47 L->Init(5); … … 66 67 { 67 68 char *filename = getenv("SINGULARHIST"); 68 69 70 WarnS("SINGULARHIST is not set - no history available, using ~/.history");71 69 if (filename==NULL) 70 { 71 WarnS("SINGULARHIST is not set - no history available, using ~/.singularhist"); 72 } 72 73 // this is the initialization routine of the module 73 74 // adding the routine predictHelp: -
Singular/misc_ip.cc
r5c29ad r78a9c9 1119 1119 } 1120 1120 #endif // HAVE_SIMPLEIPC 1121 fe_reset_input_mode();1122 1121 monitor(NULL,0); 1123 1122 #ifdef PAGE_TEST
Note: See TracChangeset
for help on using the changeset viewer.