examples: fix spectral.v

pull/7444/head
Alexander Medvednikov 2020-12-21 08:50:31 +01:00
parent fc965b7d92
commit 9f964c9ce0
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ fn a_times_transp(mut v []f64, u []f64) {
fn main() { fn main() {
mut n := 0 mut n := 0
if os.args.len == 2 { if os.args.len == 2 {
n = strconv.atoi(os.args[1]) n = strconv.atoi(os.args[1]) or { 0 }
} else { } else {
n = 0 n = 0
} }