Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FullForm OK but StandardForm fails

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88713] Re: FullForm OK but StandardForm fails
  • From: whatisgood <sh_liuhuashan at 163.com>
  • Date: Tue, 13 May 2008 07:11:40 -0400 (EDT)
  • References: <g096si$nbh$1@smc.vnet.net>

On 5=D4=C212=C8=D5, =CF=C2=CE=E76=CA=B141=B7=D6, Fiona H Evans <fev...@agric=
.wa.gov.au> wrote:
> Hi all,
>
> I'm wondering if this is a bug in 6.0.2.0 or whether anyone can see my
> problem here. I'm running a model that updates an object called 'data'
> using a module with the HoldFirst attribute. After I run the module, I
> can see the Head of data, and its FullForm, but when I try to view its
> StandardForm, I get a $RecursionLimit error as follows. If I try to
> Print data, the kernel crashes. However, if I copy the FullForm of
> data (Out[76]) into a new object, it Prints perfectly. Any ideas?
>
> In[75]:= Head[data]
>
> Out[75]= localState
>
> In[76]:= FullForm[data]
>
> Out[76]//FullForm=
> localState[community[List[population["canola",genotypeInfo[],cohortList[Li=
s-t[]],cohortList[List[]],
> cohortList[List[]],cohortList[List[]]],population["lupin",genotypeInfo[],c=
o-hortList[List[]],cohortList[List[]],
> cohortList[List[]],cohortList[List[]]],population["ryegrass",genotypeInfo[=
L-ist[Rule[List[1,1],
> 0.9993453217507997`],Rule[List[Blank[Integer],Blank[Integer]],
> 1]],List["major"],List["dominant"],
> List["glyphosate"],List[Rational[1,1000000000]],List[0.1`]],cohortList[Lis=
t-[cohort[time[3502828800],
> hashedMSet[ruleSet[List[Rule[List[List[1],List[1]],
> 1],Rule[List[List[1],List[2]],2],Rule[List[List[2],
> List[1]],3],Rule[List[List[2],List[2]],
> 4]]],List[499345536052604696,327124822795158,
> 327124822795158,214301804988],List[info[List[]],info[List[]],info[List[]],=
i-nfo[List[]]]]]]],
> cohortList[List[]],cohortList[List[]],cohortList[List[]]],population["whea=
t-",genotypeInfo[],
> cohortList[List[cohort[time[3502828800],hashedMSet[ruleSet[List[Rule[List[=
L-ist[1],List[1]],
> 1]]],
> List[160000000000000000],List[info[List[]]]]]]],cohortList[List[]],cohortL=
i-st[List[]],cohortList[List[]]],
> population["wildradish",genotypeInfo[],cohortList[List[]],cohortList[List[=
]-],cohortList[List[]],
> cohortList[List[]]]]],herbicideResidueList[]]
>
> In[77]:= StandardForm[data]
>
> During evaluation of In[77]:= $RecursionLimit::reclim: Recursion depth
> of 1024 exceeded. >>
> During evaluation of In[77]:= $RecursionLimit::reclim: Recursion depth
> of 1024 exceeded. >>
> During evaluation of In[77]:= $RecursionLimit::reclim: Recursion depth
> of 1024 exceeded. >>
> During evaluation of In[77]:= General::stop: Further output of
> $RecursionLimit::reclim will be suppressed during this calculation. >>

modify the "$RecursionLimit" 's value as big as possible and try
"StandardForm" again

whatisgood


  • Prev by Date: Re: FullForm OK but StandardForm fails
  • Next by Date: Re: HoldForm, TraditionalForm Bug?
  • Previous by thread: Re: FullForm OK but StandardForm fails
  • Next by thread: Re: FullForm OK but StandardForm fails