aboutsummaryrefslogtreecommitdiff
path: root/nerv.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-24 19:11:59 +0800
committerDeterminant <[email protected]>2015-05-24 19:11:59 +0800
commit5d1cb5619ea720968e01ec9a63422b2cc30295ef (patch)
treeebd4476e3b30bb2079a845b4797c54e6ddb118a3 /nerv.lua
parent39e1834c449a55a44e95f2cfb6b24887fd3cec70 (diff)
add utils.lua from Penlight
Diffstat (limited to 'nerv.lua')
-rw-r--r--nerv.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv.lua b/nerv.lua
index 8e03cb2..33b1aff 100644
--- a/nerv.lua
+++ b/nerv.lua
@@ -4,7 +4,7 @@ require 'matrix.init'
nerv.utils = require 'pl.utils'
function nerv.error(fmt, ...)
- error(nerv.utils.printf("Nerv internal error: " .. fmt, ...))
+ error(nerv.utils.printf("Nerv internal error: " .. fmt .. "\n", ...))
end
function nerv.error_method_not_implement()