Changeset c5a262a in git for Singular/LIB/ncpreim.lib


Ignore:
Timestamp:
Oct 2, 2013, 3:47:47 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
2a13ece6182151684381e63ed79c0ab959d69b856942859d6fd66acd74b3a387a96cae1cf0aa4331
Parents:
f4a4f47a998f1ce1569551f04931f98395d59a2860bdf0b77485f6533554642a1f90f6e1d054eef6
Message:
Merge pull request #385 from mmklee/cygwin64

Cygwin64
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/ncpreim.lib

    r60bdf0 rc5a262a  
    727212.12.12: typos
    737317.12.12: docu
     7424.09.13: bugfix preimageNC naming conflict if f is map from ring called 'B'
    7475*/
    7576
     
    661662  ideal mm = maxideal(1);
    662663  setring B;
    663   if (typeof(#[2])=="map")
    664   {
    665     map phi = #[2];
     664  if (typeof(#[2])=="map" || typeof(#[2])=="ideal")
     665  {
     666    map phi = A,ideal(#[2]);
    666667  }
    667668  else
    668669  {
    669     if (typeof(#[2])=="ideal")
    670     {
    671       map phi = A,#[2];
    672     }
    673     else
    674     {
    675       ERROR("Second argument must define a map from the specified ring to the basering.");
    676     }
     670    ERROR("Second argument must define a map from the specified ring to the basering.");
    677671  }
    678672  if (typeof(#[3])<>"ideal")
Note: See TracChangeset for help on using the changeset viewer.