You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by beutlich on 18 Oct 2016 12:33 UTC
There is no need to have have the functions getMemory and address both in Memories.DLATRAM and Memories.DLATROM.
Comment by anonymous on 26 Oct 2016 09:57 UTC
You are right, I mixed it up. There is only DLATRAM.address, but DLATROM uses the same algorithm without a separate function, thus kind of inlined.
* Introduce partial base class MemoryBase
* MemoryBase also provides public function getMemory and protected function address
* See http://tour.xogeny.com/#/chapter-3/lesson-2: Redundancy is the root of all evil
Reported by beutlich on 18 Oct 2016 12:33 UTC
There is no need to have have the functions getMemory and address both in Memories.DLATRAM and Memories.DLATROM.
Migrated-From: https://trac.modelica.org/Modelica/ticket/2084
The text was updated successfully, but these errors were encountered: