Changeset 1bf1c0 in git


Ignore:
Timestamp:
Mar 21, 2011, 6:45:39 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b19ace693fa4b3a9f4acb977d2c98a32a0d7b649
Parents:
d7f196be701ba9a5f87af2509e48a4f37b57a503
Message:
warning for roing coeffs

git-svn-id: file:///usr/local/Singular/svn/trunk@14026 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rd7f196 r1bf1c0  
    23292329  }
    23302330  rRenameVars(R);
     2331  rComplete(R);
     2332#ifdef HABE_RINGS
     2333// currently, coefficients which are ring elements require a global ordering:
     2334  if (rField_is_Ring(R) && (R->pOrdSgn==-1))
     2335  {
     2336    WerrorS("global ordering required for these coefficients");
     2337    goto rCompose_err;
     2338  }
     2339#endif
    23312340  // ------------------------ Q-IDEAL ------------------------
    2332   rComplete(R);
    23332341
    23342342  if (L->m[3].Typ()==IDEAL_CMD)
     
    47664774}
    47674775
    4768 #ifdef HAVE_RINGS
    4769 char ring_warn_done=0;
    4770 #endif
    4771 
    47724776////////////////////
    47734777//
     
    48914895  }
    48924896  pn=pn->next;
    4893 
    4894 #ifdef HAVE_RINGS
    4895   if ((ringtype > 0)&&(ring_warn_done==0))
    4896   {
    4897     WarnS("You are using coefficient rings which are not fields.");
    4898     WarnS("Please note that only limited functionality is available");
    4899     WarnS("for these coefficients.");
    4900     WarnS("");
    4901     WarnS("The following commands are meant to work:");
    4902     WarnS("- basic polynomial arithmetic");
    4903     WarnS("- std");
    4904     WarnS("- syz");
    4905     WarnS("- lift");
    4906     WarnS("- reduce");
    4907     ring_warn_done=1;
    4908   }
    4909 #endif
    49104897
    49114898  int l, last;
  • Singular/ssiLink.cc

    rd7f196 r1bf1c0  
    4646#endif
    4747
     48//#if (_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)
     49//#define HAVE_PSELECT
     50//#endif
    4851
    4952#define SSI_VERSION 1
Note: See TracChangeset for help on using the changeset viewer.