Skip to content
Snippets Groups Projects
Commit ea9ba79d authored by Stephan Hilb's avatar Stephan Hilb
Browse files

support true scalar functions

parent c71a7bdf
No related branches found
No related tags found
No related merge requests found
......@@ -389,7 +389,7 @@ vtk_append!(vtkfile, f::FeFunction, ::DP1) =
function save_csv(path, f::FeFunction)
f.space.element::P1
f.space.size == (1,) ||
prod(f.space.size) == 1 ||
throw(ArgumentError("non-scalar functions unsupported"))
mesh = f.space.mesh
df = DataFrame()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment