Opened 19 years ago

Closed 17 years ago

Last modified 17 years ago

#30 closed defect (fixed)

Strange product warning

Reported by: miha Owned by: ginkel
Priority: major Milestone: Promot 0.8
Component: PromotKernel Version:
Severity: bad Keywords:
Cc:

Description

Product term doesn't work for the

:prod<k,1,i> k

But

i!

works fine for the model:

(define-module :class "FactTest" 
  :super-classes ("module")
  :variables
  (("i" :system-theoretic "index")
   ("imax" :system-theoretic "structure-parameter" :value "10")
   ("k" :system-theoretic "index")
	 ("x":is-a "variable"
       :indices ((:index "i" :lower "1" :upper "imax"))
       :value "0.0"
       :system-theoretic "state"))
  :equations
  (("x_Eq"
    :is-a "equation"
    :indices ((:index "i" :lower "1" :upper "imax"))
    :relation ":diff<t>x[i]==-x[i] * :prod<k,1,i> k ")))
;    :relation ":diff<t>x[i]==-x[i] * i! ")))

Change History (2)

comment:1 Changed 17 years ago by ginkel

  • Resolution set to fixed
  • Status changed from new to closed

done with [7471]

comment:2 Changed 17 years ago by rempel

  • Milestone changed from Promot 1.0 to Promot 0.8
Note: See TracTickets for help on using tickets.