summaryrefslogtreecommitdiff
path: root/nerv.lua
diff options
context:
space:
mode:
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()