Skip to content

Commit

Permalink
Update core/src/parameter.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Martijn Visser <[email protected]>
  • Loading branch information
Jingru923 and visr authored Sep 19, 2024
1 parent 222d8c5 commit 2e9482a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/parameter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function NodeID(value::Integer, db::DB)::NodeID
"SELECT COUNT(*), node_type FROM Node WHERE node_type == (SELECT node_type FROM Node WHERE node_id == $value) AND node_id <= $value",
)
if only(idx) <= 0
error("Node ID #$value is not defined.")
error("Node ID #$value is not in the Node table.")
end
return NodeID(only(type), value, only(idx))
end
Expand Down

0 comments on commit 2e9482a

Please sign in to comment.