Changeset f4a4f4 in git


Ignore:
Timestamp:
Sep 24, 2013, 2:56:24 PM (11 years ago)
Author:
Daniel Andres <daniel.andres@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c5a262ad53df1f22857ebbf33ab1df008ab05831
Parents:
e4fdfc4233b49ab7329df7bca5c71c4939786214
git-author:
Daniel Andres <daniel.andres@math.rwth-aachen.de>2013-09-24 14:56:24+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-10-02 15:20:53+02:00
Message:
ncpreim.lib bugfix for naming conflict in preimageNC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/ncpreim.lib

    re4fdfc rf4a4f4  
    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.