Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Commit

Permalink
Fix for new sintax
Browse files Browse the repository at this point in the history
  • Loading branch information
mlubin committed Feb 21, 2013
1 parent 8e27928 commit b9940b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smpsreader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function SMPSData(cor::String,tim::String,sto::String)


line = readline(fs)
while search(line,"ENDATA") == (0,0)
while search(line,"ENDATA") == 0:-1
sp = split(line)
col,row = sp[1],sp[2]
val,p = float(sp[3]),float(sp[end])
Expand Down

0 comments on commit b9940b2

Please sign in to comment.