OSDN Git Service

Update differential-constraints.md
author雷蒻 <34390285+hsfzLZH1@users.noreply.github.com>
Sat, 20 Oct 2018 13:13:15 +0000 (21:13 +0800)
committerGitHub <noreply@github.com>
Sat, 20 Oct 2018 13:13:15 +0000 (21:13 +0800)
更改了错误的函数名

docs/graph/differential-constraints.md

index fad488f..744a4d7 100644 (file)
@@ -80,7 +80,7 @@ int main()
 下面是用 Bellman-Ford 算法判断图中是否存在负环的代码实现,请在调用前先保证图是联通的。
 
 ```cpp
-bool SPFA()
+bool Bellman_Ford()
 {
        for(int i=0;i<n;i++)
        {