Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for parsing larger integers in CSV files.

The code will now attempt to parse as Long instead.
  • Loading branch information...
commit 3f10c8442eeb7cb368195d44a9d5a94ba7296118 1 parent 86cc86c
@davidjameshumphreys authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/incanter-io/src/incanter/io.clj
2  modules/incanter-io/src/incanter/io.clj
@@ -30,7 +30,7 @@
(defn- parse-string [value]
(if (re-matches #"\d+" value)
- (try (Integer/parseInt value)
+ (try (Long/parseLong value)
(catch NumberFormatException _ value))
(try (Double/parseDouble value)
(catch NumberFormatException _ value))))
Please sign in to comment.
Something went wrong with that request. Please try again.