mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-10 10:46:56 +08:00
Fixed / operator
This commit is contained in:
parent
4cf95bbf9c
commit
19582e5679
@ -18,7 +18,7 @@ Ret subtract(P1 p1, P2 p2)
|
||||
template<typename Ret, typename P1, typename P2>
|
||||
Ret divide(P1 p1, P2 p2)
|
||||
{
|
||||
return p1 - p2;
|
||||
return p1 / p2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user