Change coords field type from Point to Tuple

Change to Tuple, Array is allocating memory.
This commit is contained in:
Jukka Aho
2017-08-13 21:56:52 +03:00
parent 681d53ee9a
commit b6b0bc3f55
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ function get_integration_order(element::Poi1)
end
function get_integration_points(element::Poi1, order::Int64)
return [ (1.0, [] ) ]
return [ (1.0, 0.0) ]
end
function size(::Type{Poi1})