[Zope-CVS] CVS: Products/ZCTextIndex - Index.py:1.1.2.21

Tim Peters tim.one@comcast.net
Fri, 3 May 2002 02:22:47 -0400


Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv16107

Modified Files:
      Tag: TextIndexDS9-branch
	Index.py 
Log Message:
Typo.


=== Products/ZCTextIndex/Index.py 1.1.2.20 => 1.1.2.21 ===
             idf = query_term_weight(len(d2w), N)  # this is an unscaled float
             for docid, tf in d2w.items():
-                # scaled int * unscaled flost / scaled int -> unscaled float
+                # scaled int * unscaled float / scaled int -> unscaled float
                 w = tf * idf / self._docweight[docid]
                 result[docid] = result.get(docid, 0) + scaled_int(w)
         return result