1. Albert-Jan Roskam
  2. savReaderWriter
  3. Pull requests

Pull requests

#3 Merged at 6a514d2
Repository
jaleskovec
Branch
master
Repository
fomcl
Branch
master

Fixed memoize to prevent currently cached item from getting removed

Author
  1. Jozef Leskovec
Reviewers
Description

There is a small bug in the memoize function that can cause the currently cached item to be removed from the cache. This throws a key error when trying to return that item. This is a fix for that issue.

Comments (1)

  1. Albert-Jan Roskam repo owner

    Hi,

    Thank you very much for this correction. The unittests never showed something was wrong, but that's perhaps related to the small test dataset I am using.

    Best wishes, Albert-Jan