Permalink
Browse files

Fixed bug in set-data multi-method dispatch function

  • Loading branch information...
1 parent 42214c6 commit f301312399fb1ee7b1dbf4acbcde37b259f17255 @liebke liebke committed Mar 27, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 modules/incanter-core/src/main/clojure/incanter/core.clj
@@ -50,9 +50,9 @@
(java.util Vector)))
-(def #^{:doc "This variable is bound to a dataset when the with-data macro is used.
- functions like $ and $where can use $data as a default argument."}
- $data)
+ (def #^{:doc "This variable is bound to a dataset when the with-data macro is used.
+ functions like $ and $where can use $data as a default argument."}
+ $data)
(defn matrix
@@ -2397,7 +2397,7 @@
(defmulti set-data
- "
+"
Examples:
@@ -2421,7 +2421,7 @@
data))))
"
- (fn [obj data] (type obj)))
+ (fn [obj & more] (type obj)))
(defmethod set-data javax.swing.JTable

0 comments on commit f301312

Please sign in to comment.