Skip to content

Commit

Permalink
Merge pull request #65 from vjhaanpaa/VJH
Browse files Browse the repository at this point in the history
Fixed integrate_material!() error message
  • Loading branch information
jvaara authored May 13, 2020
2 parents 3785340 + e8dd8cc commit f5b50aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Materials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end
export AbstractMaterial, AbstractMaterialState

function integrate_material!(material::M) where {M<:AbstractMaterial}
error("One needs to define how to integrate material $M!")
error("One needs to define how to integrate material $(M)!")
end

function update_material!(material::M) where {M <: AbstractMaterial}
Expand Down

0 comments on commit f5b50aa

Please sign in to comment.