Permalink
Browse files

Fix dynamic variable warnings

  • Loading branch information...
1 parent 9364431 commit 7c6df878ed52ca03a781a5d7da2ed6f930600b64 @jolby committed Sep 29, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −1 project.clj
  2. +1 −1 src/com/evocomputing/rincanter.clj
  3. +1 −1 src/com/evocomputing/rincanter/convert.clj
View
@@ -4,7 +4,10 @@
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.logging "0.2.3"]
[org.clojure/core.incubator "0.1.2"]
- [incanter "1.3.0"]
+ ;; Until this bug is fixed in incanter:
+ ;; https://github.com/liebke/incanter/issues/84
+ [incanter "1.3.0-SNAPSHOT" :exclusions [incanter/incanter-mongodb]]
+
[REngine/REngine "0.5-5"]
[JRIEngine/JRIEngine "0.5-5"]]
:autodoc {:name "rincanter"
@@ -21,7 +21,7 @@
(:use [incanter.core]
[com.evocomputing.rincanter.convert]))
-(defonce *jri-engine* (ref nil))
+(defonce ^:dynamic *jri-engine* (ref nil))
(defn init-jri-engine
"Initialize the jri engine. This can only be done once in the
@@ -158,7 +158,7 @@ otherwise"
[rexp]
nil)
-(def *object-type-to-primitive-type-map*
+(def ^:dynamic *object-type-to-primitive-type-map*
{java.lang.Byte Byte/TYPE
java.lang.Integer Integer/TYPE
java.lang.Float Float/TYPE

0 comments on commit 7c6df87

Please sign in to comment.