Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LGPU FPP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fernando Pérez Panadero
LGPU FPP
Commits
cb609b4f
Commit
cb609b4f
authored
Apr 17, 2023
by
Fernando Pérez Panadero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scope bug fixed
parent
bb436c9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
test/dirac/test_solver_plw.jl
test/dirac/test_solver_plw.jl
+3
-2
test/dirac/test_solver_rand.jl
test/dirac/test_solver_rand.jl
+2
-2
test/runtests.jl
test/runtests.jl
+1
-1
No files found.
test/dirac/test_solver_plw.jl
View file @
cb609b4f
...
...
@@ -78,10 +78,11 @@ end
return
dif
end
let
dif
=
0.0
for
i
in
1
:
3
for
j
in
1
:
4
dif
+=
Dwpw_test
(
c
=
i
,
s
=
j
)
end
end
print
(
"Dwpl test passed with average error "
,
dif
/
12
)
\ No newline at end of file
print
(
"Dwpl test passed with average error "
,
dif
/
12
,
"
\n
"
)
end
test/dirac/test_solver_rand.jl
View file @
cb609b4f
...
...
@@ -69,9 +69,9 @@ res = sum(norm2.(rpsi-dws.sp))
if
res
<
1.0e-15
print
(
"
Test Drand
passed with "
,
res
,
"% error!
\n
"
)
print
(
"
Drand test
passed with "
,
res
,
"% error!
\n
"
)
else
error
(
"
Test Drand
failed with difference: "
,
res
,
"
\n
"
)
error
(
"
Drand test
failed with difference: "
,
res
,
"
\n
"
)
end
test/runtests.jl
View file @
cb609b4f
#include("SAD/test_sad.jl")
include
(
"flow/test_adapt.jl"
)
#
include("flow/test_adapt.jl")
include
(
"dirac/test_solver_plw.jl"
)
include
(
"dirac/test_solver_rand.jl"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment